dewpoint_from_relative_humidity

dewpoint_from_relative_humidity(t, r)

Computes the dewpoint temperature from the given temperature (t) and relative humidity (r).

Parameters
  • t (number, ndarray or Fieldset) – temperature (K)

  • r (number, ndarray or Fieldset) – relative humidity (%)

Return type

same type as t or 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