powered by
This function calculates the partial vapour pressure from specific humidity.
q2e(P, q, consts = export_constants())
A vector with pressure values (Pa).
A vector with specific humidity values (kg/kg).
The constants defined in aiRthermoConstants data are necessary.
This function returns the value of the partial vapour pressure (Pa).
# NOT RUN { # Get partial pressure of water vapour data(RadiosondeD) dPs<-RadiosondeD[,1]*100 dws<-RadiosondeD[,6]/1000 h2oe<-q2e(dPs,w2q(dws)) # }
Run the code above in your browser using DataLab