Compare commits

..

No commits in common. "698a7d34c8d3e9f53293179ddce98fdd7f4825de" and "362ee0a2f44bcef67b2c6180b5443a74e89f73ac" have entirely different histories.

2 changed files with 4 additions and 2 deletions

View file

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

View file

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