relative_humidity_from_dewpoint

metpy.calc.relative_humidity_from_dewpoint(temperature, dewpoint)

Calculate the relative humidity.

Uses temperature and dewpoint to calculate relative humidity as the ratio of vapor pressure to saturation vapor pressures.

Parameters
Returns

pint.Quantity – Relative humidity

Notes

\[rh = \frac{e(T_d)}{e_s(T)}\]

Changed in version 1.0: Renamed dewpt parameter to dewpoint