dewpoint¶
-
metpy.calc.
dewpoint
(vapor_pressure)[source]¶ Calculate the ambient dewpoint given the vapor pressure.
- Parameters
e (
pint.Quantity
) – Water vapor partial pressure- Returns
pint.Quantity
– Dewpoint temperature
Notes
This function inverts the [Bolton1980] formula for saturation vapor pressure to instead calculate the temperature. This yield the following formula for dewpoint in degrees Celsius:
\[T = \frac{243.5 log(e / 6.112)}{17.67 - log(e / 6.112)}\]Changed in version 1.0: Renamed
e
parameter tovapor_pressure