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