...
The result is the saturation mixing ratio ratio in kg/kg units. On error nil
is returned.
number saturation_vapour_pressure(number t)
Computes the saturation vapour pressure for a given temperature, where
t
: the temperature (°C)
The result is the saturation vapour pressure in Pa units. On error nil
is returned. The computations are based on the same mixed-phase Tetens formula that is used by IFS for diagnostic purposes (see here for the details for model cycle CY45R1, the latest at the time of the writing of this documentation).
number temperature_from_potential_temperature(number th, number p)
...