earthkit.meteo.thermo.array.relative_humidity_from_dewpoint

earthkit.meteo.thermo.array.relative_humidity_from_dewpoint(t, td)

Compute the relative humidity from dewpoint temperature.

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

  • td (array-like) – Dewpoint (K)

Returns:

Relative humidity (%)

Return type:

array-like

The computation is based on the following formula:

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

where \(e_{wsat}\) is the saturation_vapour_pressure() over water.