moistCp {aiRthermo} | R Documentation |
This function corrects the value of dry c_p due to the existence of water vapour acording to equation 7.11 from Tsonis (2002).
moistCp(w, consts = export_constants())
w |
A vector with mixing ratio values (kg/kg). |
consts |
The constants defined in aiRthermoConstants data are necessary. |
This function returns the value of dry c_p corrected by the mixing ratio.
Tsonis, A. A. (2002). An Introduction to Atmospheric Thermodynamics, Cambridge University Press, Cambridge. Eq. 7.11.
data(RadiosondeD) dws<-RadiosondeD[,6]/1000 moistCp(dws)