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


relative_humidity – Relative humidity. Will have the same dimensions as temperature

Return type

numpy.ndarray or xarray.DataArray

See also

Related GeoCAT Functions: _xrelhum, relhum_ice, relhum_water

Related NCL Functions: relhum, relhum_ttd, relhum_ice, relhum_water