Description Usage Arguments Value See Also Examples
From pressure of water vapour Pw (Pa) and temperature Temp (K), this function calculates density of water vapour (kg/m^3).
1 | densityH2Ov(Pw, Temp, consts = export_constants())
|
Pw |
A vector with pressure water vapour values (Pa). |
Temp |
A vector with temperature values (K). |
consts |
The constants defined in aiRthermoConstants data are necessary. |
A vector with density of water vapour values is returned (kg/m^3).
1 2 3 4 5 6 | data(RadiosondeD)
dPs<-RadiosondeD[,1]*100
dTs<-C2K(RadiosondeD[,3])
dws<-RadiosondeD[,6]/1000
h2oe<-q2e(dPs,w2q(dws))
densityH2Ov(h2oe,dTs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.