relative_humidity_from_dewpoint¶
-
metpy.calc.
relative_humidity_from_dewpoint
(temperature, dewpoint)[source]¶ Calculate the relative humidity.
Uses temperature and dewpoint to calculate relative humidity as the ratio of vapor pressure to saturation vapor pressures.
- Parameters
temperature (
pint.Quantity
) – Air temperaturedewpoint (
pint.Quantity
) – Dewpoint temperature
- Returns
pint.Quantity
– Relative humidity
Changed in version 1.0: Renamed
dewpt
parameter todewpoint
See also