Ensure initial temp, pressure value visited
This commit is contained in:
parent
0860e19695
commit
d8831609d5
1 changed files with 2 additions and 0 deletions
|
@ -113,6 +113,8 @@ def loft_parcel(start_temp: float,
|
|||
temp = start_temp
|
||||
pressure = start_pressure
|
||||
|
||||
yield temp, pressure
|
||||
|
||||
while pressure >= PRESSURE_MIN:
|
||||
height = pressure_height(pressure)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue