diff --git a/lib/xmet/thermo.py b/lib/xmet/thermo.py index 984706b..c19a6e1 100644 --- a/lib/xmet/thermo.py +++ b/lib/xmet/thermo.py @@ -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)