Description Usage Arguments Value Examples
This function calculates the mixing ratio (kg/kg) from the partial vapour pressure of water vapour (Pa).
1 | e2w(eh2o, P, consts = export_constants())
|
eh2o |
A vector with partial pressure of water vapour (Pa). |
P |
A vector with pressure (Pa) values. |
consts |
The constants defined in aiRthermoConstants data are necessary. |
A vector with mixing ratio values.
1 2 3 4 5 6 7 8 9 |
#Partial pressure of water vapour
data(RadiosondeA)
dPs<-RadiosondeA[,1]*100
dws<-RadiosondeA[,6]/1000
eh2o<-q2e(dPs,w2q(dws))
#Pressure
e2w(eh2o,dPs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.