Skip to content

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

NameDescription
CirrusWaveMonochromatic parcel motion with an arbitrary starting phase.
TabulatedUpdraftPiecewise-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

NameTypeDescription
amplitudefloatPeak vertical air speed in m/s.
periodfloatWave period in seconds.
phasefloatInitial phase in radians. Zero gives maximum initial ascent.

amplitudeattributeclass attributeinstance attribute#

amplitude: float = 0.3

periodattributeclass attributeinstance attribute#

period: float = 600.0

phaseattributeclass 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

NameTypeDescription
timesNDArray[np.float64]Increasing elapsed seconds starting at zero, one per knot.
speedsNDArray[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.