Compare commits

..

2 commits

View file

@ -216,11 +216,11 @@ class SoundingParameters():
if gph_last is not None:
gph_delta = gph - gph_last
cape += (((t_parcel) - (t_env)) / (t_env)) * gph_delta
cape += ((t_parcel - t_env) / t_env) * gph_delta
gph_last = gph
return cape
return 9.80665 * cape
@staticmethod
def from_sounding(sounding: Sounding) -> Self: