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
|
||||
|
||||
return 9.80665 * cape
|
||||
return 9.8076 * cape
|
||||
|
||||
@staticmethod
|
||||
def from_sounding(sounding: Sounding) -> Self:
|
||||
|
|
|
@ -129,9 +129,7 @@ def loft_parcel(start_temp: float,
|
|||
except OverflowError:
|
||||
break
|
||||
|
||||
height_delta = height - height_last
|
||||
|
||||
temp = lapse(temp, height_delta, rate)
|
||||
temp = lapse(temp, height - height_last, rate)
|
||||
|
||||
yield temp, pressure
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue