qair2ea: Converts specific humidity to vapour pressure.

View source: R/qair2ea.R

qair2eaR Documentation

Converts specific humidity to vapour pressure.

Description

Converts specific humidity to vapour pressure.

Usage

qair2ea(qair, press = 101325)

Arguments

qair

Required. Specific humidity (dimensionless).

press

Optional. Air pressure in Pa. Default is 101325, the standard atmospheric air pressure.

Value

If successful, returns the vapour pressure in Pa. If unsuccessful, returns the value FALSE.

Author(s)

Kevin Shook

References

R code for conversion of air pressure and absolute humidity was taken from project PEcAn The Predictive Ecosystem Analyzer http://pecanproject.github.io. The source code is available at https://github.com/PecanProject/pecan/blob/master/modules/data.atmosphere/R/metutils.R.

See Also

qair2rh

Examples

ea <- qair2ea(0.0001, 101325)

CentreForHydrology/CRHMr documentation built on April 6, 2024, 5:27 p.m.