earthkit.meteo.thermo.dewpoint_from_relative_humidity

earthkit.meteo.thermo.dewpoint_from_relative_humidity(t: ArrayLike, r: ArrayLike) ArrayLike
earthkit.meteo.thermo.dewpoint_from_relative_humidity(t: xarray.DataArray, r: xarray.DataArray) xarray.DataArray
earthkit.meteo.thermo.dewpoint_from_relative_humidity(t: earthkit.data.FieldList, r: earthkit.data.FieldList) earthkit.data.FieldList

Compute the dewpoint temperature from relative humidity.

Parameters:
  • t (array-like) – Temperature (K)

  • r (array-like) – Relative humidity (%)

Returns:

Dewpoint temperature (K). For zero r values returns nan.

Return type:

array-like

The computation starts with determining the the saturation vapour pressure over water at the dewpoint temperature:

\[e_{wsat}(td) = \frac{r e_{wsat}(t)}{100}\]

where:

Then \(td\) is computed from \(e_{wsat}(td)\) by inverting the equations used in saturation_vapour_pressure().

Implementations

dewpoint_from_relative_humidity() 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.