powered by
From pressure of water vapour Pw (Pa) and temperature Temp (K), this function calculates density of water vapour (\(kg/m^3\)).
densityH2Ov(Pw, Temp, consts = export_constants())
A vector with pressure water vapour values (Pa).
A vector with temperature values (K).
The constants defined in aiRthermoConstants data are necessary.
A vector with density of water vapour values is returned (\(kg/m^3\)).
q2e and w2q
q2e
w2q
# NOT RUN { data(RadiosondeD) dPs<-RadiosondeD[,1]*100 dTs<-C2K(RadiosondeD[,3]) dws<-RadiosondeD[,6]/1000 h2oe<-q2e(dPs,w2q(dws)) densityH2Ov(h2oe,dTs) # }
Run the code above in your browser using DataLab