qa2ea | R Documentation |
Converts specific humidity to vapour pressure.
qa2ea(qair, psurf)
qair |
Required. Specific humidity (dimensionless). |
psurf |
Required. Surface air pressure in Pa. |
If successful, returns the vapour pressure in kPa. If unsuccessful, returns the value FALSE
.
Kevin Shook
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.
ea <- qa2ea(0.001, 101325)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.