geocat.comp.meteorology._xrelhum#
- geocat.comp.meteorology._xrelhum(t, w, p)#
Calculates relative humidity with respect to ice, given temperature, mixing ratio, and pressure.
“Improved Magnus’ Form Approx. of Saturation Vapor pressure” Oleg A. Alduchov and Robert E. Eskridge https://journals.ametsoc.org/view/journals/apme/35/4/1520-0450_1996_035_0601_imfaos_2_0_co_2.xml
- Parameters:
t (
xarray.DataArray
) – Temperature in Kelvinw (
xarray.DataArray
) – Mixing ratio in kg/kg. Must have the same dimensions astemperature
p (
xarray.DataArray
) – Pressure in Pa. Must have the same dimensions astemperature
- Returns:
rh (
xarray.DataArray
) – Relative humidity. Will have the same dimensions astemperature
See also
Related GeoCAT Functions:
relhum()
relhum_ice()
relhum_water()
Related NCL Functions: relhum, relhum_ttd, relhum_ice, relhum_water