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
|
import cairo
|
||||||
|
|
||||||
from typing import Callable
|
from typing import Callable
|
||||||
from itertools import product
|
|
||||||
|
|
||||||
from xmet.list import nearest
|
from xmet.sounding import Sounding
|
||||||
from xmet.sounding import Sounding, SoundingSample
|
from xmet.thermo import loft_parcel, moist_lapse_rate, \
|
||||||
from xmet.thermo import pressure_height, loft_parcel, moist_lapse_rate, \
|
|
||||||
LAPSE_RATE_DRY, PRESSURE_MAX, PRESSURE_MIN, \
|
LAPSE_RATE_DRY, PRESSURE_MAX, PRESSURE_MIN, \
|
||||||
PRESSURE_STEP, mixing_ratio, saturated_mixing_ratio, \
|
PRESSURE_STEP
|
||||||
mixing_ratio_temp
|
|
||||||
|
|
||||||
PRESSURE_LOG_MAX = math.log(PRESSURE_MAX)
|
PRESSURE_LOG_MAX = math.log(PRESSURE_MAX)
|
||||||
PRESSURE_LOG_MIN = math.log(PRESSURE_MIN)
|
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
|
dewpoint, pressure value, will be dispatched to obtain the lapse rate
|
||||||
for each height.
|
for each height.
|
||||||
"""
|
"""
|
||||||
sx_last = None
|
|
||||||
sy_last = None
|
|
||||||
last_height = None
|
last_height = None
|
||||||
|
|
||||||
temp = start_temp
|
temp = start_temp
|
||||||
|
|
Loading…
Add table
Reference in a new issue