Compare commits
2 commits
fe3cd6bb4b
...
49647f1fdc
Author | SHA1 | Date | |
---|---|---|---|
49647f1fdc | |||
77970e89ba |
2 changed files with 3 additions and 8 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue