geocat.comp.meteorology.relhum

Contents

geocat.comp.meteorology.relhum#

geocat.comp.meteorology.relhum(temperature, mixing_ratio, pressure)#

This function calculates the relative humidity 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:
Returns:

relative_humidity (numpy.ndarray or xarray.DataArray) – Relative humidity. Will have the same dimensions as temperature

See also

Related GeoCAT Functions: _xrelhum() relhum_ice() relhum_water()

Related NCL Functions: relhum, relhum_ttd, relhum_ice, relhum_water