hurs2w | R Documentation |
Calculate the mass ratio of water vapor in air from relative humidity, pressure and temperature
hurs2w(ps, tas, hurs)
ps |
Surface pressure |
tas |
Near-surface air temperature |
hurs |
Relative humidity grid |
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).
A climate4R CDM grid
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
.
J. Bedia, S. Herrera
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
Other derivation:
hurs2huss()
,
hurs2tdps()
,
huss2hurs()
,
huss2pvp()
,
ps2psl()
,
psl2ps()
,
rad2cc()
,
tas2ws()
,
tdps2hurs()
Other humidity:
hurs2huss()
,
hurs2tdps()
,
huss2hurs()
,
huss2pvp()
,
tas2ws()
,
tdps2hurs()
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.