Description Usage Arguments Value References Examples
This function calculates the moist adiabatic lapse rate according to a provided mixing ratio (kg/kg) (Tsonis, eq 7.29).
1 | moistAdiabaticLapseRate(w, consts = export_constants())
|
w |
A vector with mixing ratio values (kg/kg). |
consts |
The constants defined in aiRthermoConstants data are necessary. |
This function returns a vector with the moist adiabatic lapse rate (dry adiabatic lapse rate with correction of c_p due to the water vapour in moist air).
Tsonis, A. A. (2002). An Introduction to Atmospheric Thermodynamics, Cambridge University Press, Cambridge. Eq. 7.29.
1 2 3 | data(RadiosondeA)
aws<-RadiosondeA[,6]/1000
moistAdiabaticLapseRate(aws)
|
[1] 0.009683733 0.009691012 0.009691264 0.009696458 0.009697716 0.009707284
[7] 0.009708040 0.009726139 0.009726561 0.009728332 0.009728923 0.009735848
[13] 0.009735425 0.009735425 0.009725970 0.009722345 0.009722514 0.009722598
[19] 0.009725043 0.009729514 0.009736355 0.009743713 0.009747185 0.009752694
[25] 0.009754814 0.009755323 0.009757021 0.009757869 0.009757869 0.009757954
[31] 0.009757954 0.009758039 0.009758039 0.009758124 0.009758209 0.009758209
[37] 0.009758209 0.009758209 0.009758209 0.009758209 0.009758209 0.009758209
[43] 0.009758209 0.009758209 0.009758209 0.009758209 0.009758209 0.009758209
[49] 0.009758209 0.009758209 0.009758209 0.009758209 0.009758209 0.009758209
[55] 0.009758209 0.009758209 0.009758209 0.009758209 0.009758209 0.009758209
[61] 0.009758124 0.009758124 0.009758124 0.009758124 0.009758124 0.009758209
[67] 0.009758124 0.009758124 0.009758124 0.009758124 0.009758124 0.009758124
[73] 0.009758039 0.009758039
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.