| hurs2huss | R Documentation |
Relative humidity to specific humidity conversion using surface pressure and temperature
hurs2huss(hurs, ps, tas)
hurs |
Relative humidity grid |
ps |
Surface pressure |
tas |
Near-surface air temperature |
A climate4R CDM grid of specific humidity (in kg/kg)
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
Other derivation:
hurs2tdps(),
hurs2w(),
huss2hurs(),
huss2pvp(),
ps2psl(),
psl2ps(),
rad2cc(),
tas2ws(),
tdps2hurs()
Other humidity:
hurs2tdps(),
hurs2w(),
huss2hurs(),
huss2pvp(),
tas2ws(),
tdps2hurs()
data("ps.iberia")
data("tas.iberia")
data("huss.iberia")
hurs <- huss2hurs(huss = huss.iberia, ps = ps.iberia, tas = tas.iberia)
huss <- hurs2huss(hurs = hurs, ps = ps.iberia, tas = tas.iberia)
identical(huss$Data, huss.iberia$Data)
# Not identical due to rounding errors:
range(huss$Data - huss.iberia$Data)
## Not run:
require(visualizeR)
spatialPlot(climatology(hurs), 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.