easyclimate.physics.moisture.dewpoint¶
Dewpoint
Functions¶
|
Calculate the ambient dew point temperature given the vapor pressure. |
Module Contents¶
- easyclimate.physics.moisture.dewpoint.calc_dewpoint(vapor_pressure_data: xarray.DataArray, vapor_pressure_data_units: Literal['hPa', 'Pa', 'mbar']) xarray.DataArray¶
Calculate the ambient dew point temperature given the vapor pressure.
This function inverts the Bolton (1980) formula for saturation vapor pressure to instead calculate the temperature. This yields the following formula for dewpoint in degrees Celsius, where \(e\) is the ambient vapor pressure in millibars:
\[T = \frac{243.5 \log(e / 6.112)}{17.67 - \log(e / 6.112)}\]Parameters¶
- vapor_pressure_data:
xarray.DataArray. Water vapor partial pressure.
- vapor_pressure_data_units:
str. The unit corresponding to vapor_pressure_data value. Optional values are hPa, Pa.
Returns¶
- The dew point ( \(\\mathrm{degC}\) ).
See also
https://unidata.github.io/MetPy/latest/api/generated/metpy.calc.dewpoint.html
Bolton, D. (1980). The Computation of Equivalent Potential Temperature. Monthly Weather Review, 108(7), 1046-1053. https://journals.ametsoc.org/view/journals/mwre/108/7/1520-0493_1980_108_1046_tcoept_2_0_co_2.xml
- vapor_pressure_data: