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://www.osti.gov/scitech/servlets/purl/548871/ https://doi.org/10.2172/548871

Parameters
Returns

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