From 5f55060b09e6fac92bc853c0cb54d8af4961169a Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial <xan@xantronix.com> Date: Sun, 9 Mar 2025 12:02:42 -0400 Subject: [PATCH] Iterate over 1.0mb pressure increments --- lib/xmet/thermo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/xmet/thermo.py b/lib/xmet/thermo.py index 5f72b54..193e068 100644 --- a/lib/xmet/thermo.py +++ b/lib/xmet/thermo.py @@ -104,7 +104,7 @@ def moist_lapse_rate(temp: float, pressure: float) -> float: def loft_parcel(start_temp: float, start_pressure: float, lapse_rate: Callable, - step: float=10.0): + step: float=1.0): """ Loft a parcel of air from a given pressure, at a given temperature, yielding a Tuple containing the temperature and pressure of that parcel @@ -173,7 +173,7 @@ def follow_moist_adiabat(temp: float, pressure: float) -> Series: return series -def follow_saturated_mixing_ratio(temp: float, pressure: float, step: float=10.00) -> Series: +def follow_saturated_mixing_ratio(temp: float, pressure: float, step: float=1.0) -> Series: """ Follow a line of constant saturated mixing ratio calculated from a given temp and pressure level, returning a Series object depicting the data