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
esvalues returns nan.- Return type:
array-like
The computation is always based on the “water” phase of the
saturation_vapour_pressure()formulation irrespective of the phaseeswas computed to.Implementations¶
temperature_from_saturation_vapour_pressure()calls one of the following implementations depending on the type of the input arguments:earthkit.meteo.thermo.array.temperature_from_saturation_vapour_pressure()for array-likeearthkit.meteo.thermo.xarray.temperature_from_saturation_vapour_pressure()for xarray.DataArrayearthkit.meteo.thermo.fieldlist.temperature_from_saturation_vapour_pressure()for FieldList
The function returns an object of the same type as the input arguments.