earthkit.meteo.thermo.array.temperature_from_saturation_vapour_pressure

earthkit.meteo.thermo.array.temperature_from_saturation_vapour_pressure(es)

Compute the temperature from saturation vapour pressure.

Parameters:

es (array-like) – saturation_vapour_pressure() (Pa)

Returns:

Temperature (K). For zero es values returns nan.

Return type:

array-like

The computation is always based on the “water” phase of the saturation_vapour_pressure() formulation irrespective of the phase es was computed to.