Compare commits

..

No commits in common. "cae2cb0b3fd843cd83d93e1e41432b06857fa9e7" and "25540d0ef77ed16f6bf9b4f1cfd97a399a1a13a8" have entirely different histories.

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 9.80665 * cape
return cape
@staticmethod
def from_sounding(sounding: Sounding) -> Self: