Analysis of atmospheric thermodynamics using the R package aiRthermo
View/ Open
Date
2018-10-23Author
González Rojí, Santos José
Carreno Madinabeitia, Sheila
Ibarra Berastegi, Gabriel
Metadata
Show full item record
Computers & Geosciences 122 : 113-119 (2019)
Abstract
The publicly available R package aiRthermo is presented in this study, which allows the user to process information relative to atmospheric thermodynamics, ranging from calculating the density of dry or moist air and converting data between moisture indices to processing a full sounding, obtaining factors such as the convective available potential energy, additional instability indices, or adiabatic evolutions of particles. The package also provides the possibility to present information using customisable Stüve diagrams. Many of the functions are written inside a C extension to ensure that the computations are fast. The results of applying this package to five years of real soundings measured over the Iberian Peninsula are also presented as an example. The package considerably extends the capabilities of R to process atmospheric soundings or model results. This will be useful for many practical environmental forecasting applications at different scales, such as statistical downscaling for climate analysis, quantitative precipitation forecasting (particularly precipitation extremes), diagnosing storms, flash floods, and lightning, and in aviation and other fields where computing atmospheric convection and its related parameters is important.