earthkit.meteo.thermo.fieldlist.relative_humidity_from_dewpoint

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

Compute the relative humidity from dewpoint temperature.

Parameters:
  • t (FieldList|Field) – Temperature (K).

  • td (FieldList|Field) – Dewpoint (K).

Returns:

Relative humidity (%). The result has the same type as the input t and td (FieldList or Field).

Return type:

FieldList|Field

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.