w2Td {aiRthermo} | R Documentation |
Dew point temperature from mixing ratio
Description
This function calculates the dew point temperature from given mixing ratio and pressure, following the APPROXIMATE expression 5.68 in Bohren and Albrech (1998).
Usage
w2Td(P, w, consts = export_constants())
Arguments
P |
A vector with pressure values in Pa. |
w |
A vector with mixing ratio (kg/kg). |
consts |
The constants defined in aiRthermoConstants data are necessary. |
Value
This function returns a vector with the dew point temperature.
References
Bohren, C.F., & Albrecht, B. A. (1998). Atmospheric thermodynamics. Atmospheric thermodynamics. Publisher: New York; Oxford: Oxford University Press, 1998. ISBN: 0195099044. Equation 5.68.
Examples
data(RadiosondeD)
dPs<-RadiosondeD[,1]*100
dws<-RadiosondeD[,6]/1000
w2Td(dPs,dws)
[Package aiRthermo version 1.2.1 Index]