earthkit.meteo.thermo.temperature_from_saturation_vapour_pressure

earthkit.meteo.thermo.temperature_from_saturation_vapour_pressure(es: ArrayLike) ArrayLike
earthkit.meteo.thermo.temperature_from_saturation_vapour_pressure(es: xarray.DataArray) xarray.DataArray
earthkit.meteo.thermo.temperature_from_saturation_vapour_pressure(es: earthkit.data.FieldList) earthkit.data.FieldList

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.

Implementations

temperature_from_saturation_vapour_pressure() calls one of the following implementations depending on the type of the input arguments:

The function returns an object of the same type as the input arguments.