hurs2w: Mixing (mass) ratio of water vapor

View source: R/hurs2w.R

hurs2wR Documentation

Mixing (mass) ratio of water vapor

Description

Calculate the mass ratio of water vapor in air from relative humidity, pressure and temperature

Usage

hurs2w(ps, tas, hurs)

Arguments

ps

Surface pressure

tas

Near-surface air temperature

hurs

Relative humidity grid

Details

The mixing ratio usually refers to the mass ratio (\zeta_i), which is defined as the mass of a constituent m_i divided by the total mass of all other constituents in a mixture:

\zeta_{i}=\frac{m_i}{m_{tot}-m_{i}}

The mass ratio of water vapor in air can be used to describe humidity (https://en.wikipedia.org/wiki/Mixing_ratiohttps://en.wikipedia.org/wiki/Mixing_ratio).

Value

A climate4R CDM grid

Input units

In principle, the derivation functions will work regardless of the input units, as all units are internally converted as necessary according to the specific formulae definitions. However, the units string (see getGridUnits) must be parseable. In the same vein, the input units need to be convertible to the required ones. Unit consistency is internally achieved by the function udConvertGrid.

Author(s)

J. Bedia, S. Herrera

References

  • Gregory, D. (2000), Atmospheric thermodynamics. By Craig F. Bohren and Bruce A. Albrecht. Oxford University Press. xiv + 402 pp. Price £49.50 (hardback). ISBN 019 5099044. Q.J.R. Meteorol. Soc., 126: 2631-2632. doi:10.1002/qj.49712656815

  • Gregory, D. (2000), Atmospheric thermodynamics. By Craig F. Bohren and Bruce A. Albrecht. Oxford University Press. xiv + 402 pp. Price £49.50 (hardback). ISBN 019 5099044. Q.J.R. Meteorol. Soc., 126: 2631-2632. doi:10.1002/qj.49712656815

See Also

Other derivation: hurs2huss(), hurs2tdps(), huss2hurs(), huss2pvp(), ps2psl(), psl2ps(), rad2cc(), tas2ws(), tdps2hurs()

Other humidity: hurs2huss(), hurs2tdps(), huss2hurs(), huss2pvp(), tas2ws(), tdps2hurs()

Examples

data("ps.iberia")
data("tas.iberia")
data("huss.iberia")
# First, hurs is derived from huss:
hurs <- huss2hurs(huss.iberia, ps.iberia, tas.iberia)
w <- hurs2w(ps.iberia, tas.iberia, hurs)
## Not run: 
require(visualizeR)
spatialPlot(climatology(w), rev.colors = TRUE, backdrop.theme = "coastline")

## End(Not run)

SantanderMetGroup/convertR documentation built on June 30, 2023, 3:03 a.m.