.get_ps | R Documentation |
Saturation water vapour pressure (kPa)
.get_ps(Temp, P, unitless)
Temp |
Temperature in Kelvin |
P |
Atmospheric pressure in kPa |
unitless |
Logical. Should function use parameters with |
Goff-Gratch equation (see http://cires1.colorado.edu/~voemel/vp.html)
This equation assumes P = 1 atm = 101.3246 kPa, otherwise boiling temperature needs to change
Value in kPa of class units
http://cires1.colorado.edu/~voemel/vp.html
T_leaf <- set_units(298.15, K) P <- set_units(101.3246, kPa) tealeaves:::.get_ps(T_leaf, P, FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.