Compare commits
2 commits
362ee0a2f4
...
698a7d34c8
Author | SHA1 | Date | |
---|---|---|---|
698a7d34c8 | |||
d777934a6f |
2 changed files with 2 additions and 4 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue