Compare commits
2 commits
25540d0ef7
...
cae2cb0b3f
Author | SHA1 | Date | |
---|---|---|---|
cae2cb0b3f | |||
bb9b2e2dbf |
1 changed files with 2 additions and 2 deletions
|
@ -216,11 +216,11 @@ class SoundingParameters():
|
||||||
if gph_last is not None:
|
if gph_last is not None:
|
||||||
gph_delta = gph - gph_last
|
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
|
gph_last = gph
|
||||||
|
|
||||||
return cape
|
return 9.80665 * cape
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def from_sounding(sounding: Sounding) -> Self:
|
def from_sounding(sounding: Sounding) -> Self:
|
||||||
|
|
Loading…
Add table
Reference in a new issue