Calculate lapse rate between pressure intervals
This commit is contained in:
parent
6eb06d98a6
commit
fe3cd6bb4b
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ def loft_parcel(start_temp: float,
|
||||||
|
|
||||||
if last_height is not None:
|
if last_height is not None:
|
||||||
try:
|
try:
|
||||||
rate = lapse_rate(temp, pressure)
|
rate = lapse_rate(temp, pressure-step/2)
|
||||||
except OverflowError:
|
except OverflowError:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue