Compare commits

...

2 commits

Author SHA1 Message Date
698a7d34c8 Simplify 2025-03-09 16:45:31 -04:00
d777934a6f Use same gravitational force across codebase 2025-03-09 16:14:55 -04:00
2 changed files with 2 additions and 4 deletions

View file

@ -220,7 +220,7 @@ class SoundingParameters():
gph_last = gph gph_last = gph
return 9.80665 * cape return 9.8076 * cape
@staticmethod @staticmethod
def from_sounding(sounding: Sounding) -> Self: def from_sounding(sounding: Sounding) -> Self:

View file

@ -129,9 +129,7 @@ def loft_parcel(start_temp: float,
except OverflowError: except OverflowError:
break break
height_delta = height - height_last temp = lapse(temp, height - height_last, rate)
temp = lapse(temp, height_delta, rate)
yield temp, pressure yield temp, pressure