particula.flow.kinematic.parcel_wind
Time-dependent vertical wind along an air-parcel trajectory.
The monochromatic wave follows the ten-minute cirrus parcel experiment in “Dynamical Influences on Cirrus Cloud Formation Process” (1998), JAS 55, 1940–1949. Heights are geometric displacements in metres relative to the first forcing time.
Classes
| Name | Description |
|---|---|
CirrusWave | Monochromatic parcel motion with an arbitrary starting phase. |
TabulatedUpdraft | Piecewise-linear vertical speed with its exact displacement integral. |
CirrusWaveclassdataclass#
class CirrusWave(amplitude: float = 0.3, period: float = 600.0, phase: float = 0.0)Monochromatic parcel motion with an arbitrary starting phase.
Attributes
| Name | Type | Description |
|---|---|---|
amplitude | float | Peak vertical air speed in m/s. |
period | float | Wave period in seconds. |
phase | float | Initial phase in radians. Zero gives maximum initial ascent. |
amplitudeattributeclass attributeinstance attribute#
amplitude: float = 0.3periodattributeclass attributeinstance attribute#
period: float = 600.0phaseattributeclass attributeinstance attribute#
phase: float = 0.0__init__method#
def __init__(amplitude: float = 0.3, period: float = 600.0, phase: float = 0.0) -> None__post_init__method#
def __post_init__()Check the period and amplitude of the wave.
_anglemethod#
def _angle(time)breakpointsmethod#
def breakpoints(stop)Return interior quarter periods up to stop (s).
displacementmethod#
def displacement(time)Return the wave’s signed vertical displacement (m) since zero.
velocitymethod#
def velocity(time)Return the signed vertical speed (m/s) at elapsed seconds.
TabulatedUpdraftclassdataclass#
class TabulatedUpdraft(times: NDArray[np.float64], speeds: NDArray[np.float64])Piecewise-linear vertical speed with its exact displacement integral.
Attributes
| Name | Type | Description |
|---|---|---|
times | NDArray[np.float64] | Increasing elapsed seconds starting at zero, one per knot. |
speeds | NDArray[np.float64] | Vertical wind (m/s, positive upward) on the same knots. |
speedsattributeinstance attribute#
speeds: NDArray[np.float64]timesattributeinstance attribute#
times: NDArray[np.float64]_cumulative_heightpropertycached#
_cumulative_height__init__method#
def __init__(times: NDArray[np.float64], speeds: NDArray[np.float64]) -> None__post_init__method#
def __post_init__()Own immutable copies and reject an ambiguous forcing history.
_querymethod#
def _query(time)breakpointsmethod#
def breakpoints(stop)Return interior forcing knots before stop time (s).
displacementmethod#
def displacement(time)Return integrated signed vertical displacement (m) since zero.
velocitymethod#
def velocity(time)Return interpolated vertical wind (m/s) at elapsed seconds.