geocat.comp.meteorology._relhum_water#

geocat.comp.meteorology._relhum_water(t, w, p)#

Calculates relative humidity with respect to water, given temperature, mixing ratio, and pressure.

Definition of mixing ratio if,

  • es - is the saturation mixing ratio

  • ep - is the ratio of the molecular weights of water vapor to dry air

  • p - is the atmospheric pressure

  • rh - is the relative humidity (given as a percent)

rh = 100* q / ( (ep*es)/(p-es) )

Parameters
Returns

rh (numpy.ndarray) – Relative humidity. Will have the same dimensions as temperature

See also

Related GeoCAT Functions: relhum, relhum_ice, relhum_water, _xrelhum

Related NCL Functions: relhum, relhum_ttd, relhum_ice, relhum_water