dewpoint_from_relative_humidity
- dewpoint_from_relative_humidity(t, r)
Computes the dewpoint temperature from the given temperature (
t) and relative humidity (r).- Parameters
- Return type
same type as
tor None
The result is the dewpoint temperature in K units. On error None is returned. The computation is based on the following formula:
\[r = \frac{e_{wsat}(td)}{e_{wsat}(t)}\]where
ewsat is the saturation vapour pressure over water (see
saturation_vapour_pressure()).td is the dewpoint temperature