...
Computes the equivalent potential temperature from fieldsets on pressure levels. This is a Metview icon function, for detailed documentation please see Potential Temperature.
Anchor lifted_condensation_level lifted_condensation_level
definition lifted_condensation_level(t: number, td: number, p: number)
...
The result is a definition with two members: t
and p
, containing the temperature and pressure of the LCL, in K and Pa units, respectively. On error or if the LCL does not exist nil
is returned.
Anchor mixing_ratio mixing_ratio
number mixing_ratio(q: number)
...
Mathdisplay |
---|
w = \frac{q}{1 - q} |
Anchor mixing_ratio_from_vapour_pressure mixing_ratio_from_vapour_pressure
number mixing_ratio_from_vapour_pressure(p: number, e: number)
...
Mathinline |
---|
\epsilon = \frac{R_{dry}}{R_{vapour}} = 0.621981 |
Anchor potential_temperature potential_temperature
number potential_temperature(t: number, p: number)
...
Computes the relative humidity from fieldsets. This is a Metview icon function, for detailed documentation please see Relative Humidity.
Anchor saturation_mixing_ratio saturation_mixing_ratio
number saturation_mixing_ratio(t: number, p: number)
...
ws = mixing_ratio(p, saturation_vapour_pressure(t))
Anchor saturation_vapour_pressure saturation_vapour_pressure
number saturation_vapour_pressure(t: number)
...