Compare commits

..

2 commits

Author SHA1 Message Date
49647f1fdc Remove unused imports 2025-03-12 21:36:41 -04:00
77970e89ba Remove unused variables 2025-03-12 21:30:29 -04:00
2 changed files with 3 additions and 8 deletions

View file

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

View file

@ -106,8 +106,6 @@ 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