aiRthermo (version 1.0)

moistCp: 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, Cam- 563 bridge University Press, Cambridge. Eq. 7.11.

See Also

w2q and moistCv

Examples

Run this code
# NOT RUN {
data(RadiosondeD)
dws<-RadiosondeD[,6]/1000
moistCp(dws)
# }

Run the code above in your browser using DataCamp Workspace