huss2pvp: Specific humidity to partial vapor pressure conversion

View source: R/huss2pvp.R

huss2pvpR Documentation

Specific humidity to partial vapor pressure conversion

Description

Specific humidity to partial vapor pressure conversion using surface pressure and specific humidity

Usage

huss2pvp(huss, ps)

Arguments

huss

Specific humidity grid

ps

Surface pressure

Details

The partial pressure of a gaseous constituent of air (water vapor in this case) is the pressure which it alone would exert with unchanged temperature and number of moles per unit volume.

Value

A climate4R CDM grid of partial vapor pressure (in Pascals)

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(), huss2hurs(), ps2psl(), psl2ps(), rad2cc(), tas2ws(), tdps2hurs()

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

Other pressure: ps2psl(), psl2ps(), tas2ws()

Examples

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

## End(Not run)

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