huss2hurs: Specific humidity to relative humidity conversion

View source: R/huss2hurs.R

huss2hursR Documentation

Specific humidity to relative humidity conversion

Description

Specific humidity to relative humidity conversion using surface pressure and temperature

Usage

huss2hurs(huss, ps, tas)

Arguments

huss

Specific humidity grid

ps

Surface pressure

tas

Near-surface air temperature

Value

A climate4R 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

See Also

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

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

Examples

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

## End(Not run)

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