Description Usage Arguments Details Value Author(s) Examples
Finds the dew point given the water vapor pressure
1 | DPfromE(.E)
|
.E |
A numeric representing the water vapor pressure in hPa (vector OK) |
The Murphy-Koop equation for water vapor pressure is inverted to find the dew point (in deg. C) from the water vapor pressure (in hPa). The inversion uses the R routine nleqslv. This gives the temperature where the equilibrium vapor pressure matches the supplied vapor pressure, but without consideration of the "enhancement factor" that changes the equilibrium pressure in the presence of air or another gas.
A numeric vector representing the dewpoint in deg. C corresponding to the input vapor pressure.
William Cooper"
1 2 | DP <- DPfromE (0.01)
DPa <- DPfromE (RAFdata$EWX)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.