earthkit.meteo.thermo.array.dewpoint_from_relative_humidity¶
- earthkit.meteo.thermo.array.dewpoint_from_relative_humidity(t, r)¶
Compute the dewpoint temperature from relative humidity.
- Parameters:
t (
array-like) – Temperature (K)r (
array-like) – Relative humidity (%)
- Returns:
Dewpoint temperature (K). For zero
rvalues 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:
\(e_{wsat}\) is the
saturation_vapour_pressure()over water\(td\) is the dewpoint.
Then \(td\) is computed from \(e_{wsat}(td)\) by inverting the equations used in
saturation_vapour_pressure().