Compare commits

..

No commits in common. "49647f1fdcd81471ec1a2dc5bfa2ca78bcd2b99c" and "fe3cd6bb4bc6509d54dfebc798e32e30605be705" have entirely different histories.

2 changed files with 8 additions and 3 deletions

View file

@ -2,11 +2,14 @@ import math
import cairo
from typing import Callable
from itertools import product
from xmet.sounding import Sounding
from xmet.thermo import loft_parcel, moist_lapse_rate, \
from xmet.list import nearest
from xmet.sounding import Sounding, SoundingSample
from xmet.thermo import pressure_height, loft_parcel, moist_lapse_rate, \
LAPSE_RATE_DRY, PRESSURE_MAX, PRESSURE_MIN, \
PRESSURE_STEP
PRESSURE_STEP, mixing_ratio, saturated_mixing_ratio, \
mixing_ratio_temp
PRESSURE_LOG_MAX = math.log(PRESSURE_MAX)
PRESSURE_LOG_MIN = math.log(PRESSURE_MIN)

View file

@ -106,6 +106,8 @@ def loft_parcel(start_temp: float,
dewpoint, pressure value, will be dispatched to obtain the lapse rate
for each height.
"""
sx_last = None
sy_last = None
last_height = None
temp = start_temp