Description Usage Arguments Value References Examples
This function calculates the dew point temperature from given mixing ratio and pressure, following the APPROXIMATE expression 5.68 in Bohren and Albrech (1998).
1 | w2Td(P, w, consts = export_constants())
|
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. |
This function returns a vector with the dew point temperature.
Bohren, C.F., & Albrecht, B. A. (1998). Atmospheric thermodynamics. Atmospheric thermodynamics. Publisher: New York; Oxford: Oxford University Press, 1998. ISBN: 0195099044. Equation 5.68.
1 2 3 4 | data(RadiosondeD)
dPs<-RadiosondeD[,1]*100
dws<-RadiosondeD[,6]/1000
w2Td(dPs,dws)
|
[1] 294.8268 296.8850 292.8574 292.5698 290.6004 289.0147 287.8130 285.5671
[9] 283.3812 281.9943 281.8562 279.8130 276.0157 273.1881 273.0160 270.2125
[17] 266.9987 251.5656 257.7337 268.3017 264.1036 263.8893 261.0447 253.9576
[25] 251.7987 251.0047 248.5042 238.4140 238.5121 231.0179 227.5713 222.5800
[33] 220.2768 219.3826 209.2751 206.5756 206.1957 202.9861 202.2712 196.7218
[41] 196.3801 196.1586 195.7902 195.6473 195.4526 195.1508 195.0993 194.7287
[49] 194.3389 194.1068 193.9879 0.0000 0.0000 0.0000 0.0000 0.0000
[57] 0.0000 0.0000 0.0000 0.0000 188.4424 188.3127 187.9085 187.6255
[65] 187.6110 187.1782 187.0225 186.5331 186.1865 189.7314
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.