Iterate over 1.0mb pressure increments

This commit is contained in:
XANTRONIX 2025-03-09 12:02:42 -04:00
parent 38c1a48e01
commit 5f55060b09

View file

@ -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