powered by
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())
A vector with mixing ratio values (kg/kg).
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.
w2q and moistCv
w2q
moistCv
# NOT RUN { data(RadiosondeD) dws<-RadiosondeD[,6]/1000 moistCp(dws) # }
Run the code above in your browser using DataLab