Microclimate Models
Microclimates represent the physical environments experienced by organisms. They are a necessity for mechanistic niche modelling because it is the environment experienced at the scale of the individual that needs to be provided to the equations of energy and mass balance. Microclimate predictions are also useful for a wide range of biological and non-biological applications.
The NicheMapR package has a range of functions useful in the computations of microclimates. These include functions for computing the physical properties of dry and humid air (functions DRYAIR, WETAIR). Some empirical and theoretical details about the properties of air are also to be found in the properties of air vignette.
The microclimate model of the NicheMapR package (Kearney and Porter 2017) comprises an R wrapper script that communicates with the FORTRAN code (function microrun) and a set of environmental database-specific functions that collate and transform the required input data for submission to the microrun function. Specifically, functions are:
micro_global which connects to the global monthly database of climate conditions developed by New et al. (2002), on a ~10x10 km grid averaged over 1960 to 1990;
micro_ncep which uses the microclima package as well as the RNCEP (Kemp et al. 2012) and elevatr (Hollister et al. 2017) packages to connect to the 6-hourly 2.5x2.5 degree gridded historical NCEP data (global scope, from 1957 onward; Kalnay et al. 1996) and downscale them to hourly and account for local terrain effects (~30x30 m) including elevation-induced lapse rates, coastal influences and cold-air drainage (Kearney et al. 2019).
micro_era5 which uses a similar pipeline to micro_ncep as well as the mcera5 package (described in Klinges et al. 2019) to connect to the hourly 0.27x0.25 degree gridded historical ERA5 data (global scope, from 1959 onward; Hersbach et al. 2020).
micro_aust connects to the Australian Water Availability Project (AWAP; Jones et al. 2009) 5x5 km gridded daily weather grids.
micro_usa connects to the gridMET (Abatzoglou 2013) 5x5 km daily weather grids for the USA.
micro_uk connects to the CHESS (Robinson et al. 2017) 1x1 km daily weather grids for the UK (requires log in).
micro_nz connects to the 5 km daily Virtual Climate Station Network (VCSN) for New Zealand (requires log in).
All of these functions can connect via the web to the SoilGrids (Hengle 2017) global soil properties database by setting the argument 'soilgrids' to a value of 1.
In addition, there are example vignettes for setting up your own functions for forcing the microclimate model, including a summary of all inputs and outputs, an explanation of all the input parameters, and example setups for monthly or hourly input data. There is also a vignette on the underlying theory and equations as well as a general tutorial.
References
Abatzoglou, J. T. (2013). Development of gridded surface meteorological data for ecological applications and modelling. International Journal of Climatology, 33(1), 121–131. doi:10.1002/joc.3413
Hersbach, H., Bell, B., Berrisford, P., Hirahara, S., Horányi, A., Muñoz-Sabater, J., Nicolas, J., Peubey, C., Radu, R., Schepers, D., Simmons, A., Soci, C., Abdalla, S., Abellan, X., Balsamo, G., Bechtold, P., Biavati, G., Bidlot, J., Bonavita, M., … Thépaut, J.-N. (2020). The ERA5 global reanalysis. Quarterly Journal of the Royal Meteorological Society, 146(730), 1999–2049. doi.org/10.1002/qj.3803
Hengl, T., de Jesus, J. M., Heuvelink, G. B., Gonzalez, M. R., Kilibarda, M., Blagotić, A., Shangguan, W., Wright, M. N., Geng, X., Bauer-Marschallinger, B., & others. (2017). SoilGrids250m: Global gridded soil information based on machine learning. PloS One, 12(2), e0169748. doi.org/10.1371/journal.pone.0169748
Jeffrey W Hollister, Tarak Shah, & Marcus W Beck. (2017). jhollist/elevatr: Latest CRAN release. Zenodo. doi:10.5281/zenodo.400259
Jones, D., Wang, W., & Fawcett, R. (2009). High-quality spatial climate data-sets for Australia. Australian Meteorological and Oceanographic Journal, 58(04), 233–248. doi:10.22499/2.5804.003
Kalnay, E., Kanamitsu, M., Kistler, R., Collins, W., Deaven, D., Gandin, L., … Joseph, D. (1996). The NCEP/NCAR 40-Year Reanalysis Project. Bulletin of the American Meteorological Society, 77(3), 437–472. doi:10.1175/1520-0477(1996)077<0437:TNYRP>2.0.CO;2
Kemp, M. U., Emiel van Loon, E., Shamoun-Baranes, J., & Bouten, W. (2012). RNCEP: global weather and climate data at your fingertips: RNCEP. Methods in Ecology and Evolution, 3(1), 65–70. doi:10.1111/j.2041-210X.2011.00138.x
Kearney, M. R., & Porter, W. P. (2017). NicheMapR - an R package for biophysical modelling: the microclimate model. Ecography, 40(5), 664–674. doi:10.1111/ecog.02360
Kearney, M. R., Gillingham, P. K., Bramer, I., Duffy, J. P., & Maclean, I. M. D. (2020). A method for computing hourly, historical, terrain-corrected microclimate anywhere on earth. Methods in Ecology and Evolution, 11(1), 38–43. doi.org/10.1111/2041-210X.13330
Klinges, D. H., Duffy, J. P., Kearney, M. R., & Maclean, I. M. D. (2022). mcera5: Driving microclimate models with ERA5 global gridded climate data. Methods in Ecology and Evolution, 13(n/a), 7. doi.org/10.1111/2041-210X.13877
New, M., Lister, D., Hulme, M., & Makin, I. (2002). A high-resolution data set of surface climate over global land areas. Climate Research, 21(1), 1–25. doi:10.3354/cr021001
Robinson, E. L., Blyth, E., Clark, D. B., Comyn-Platt, E., Finch, J., & Rudd, A. C. (2017). Climate hydrology and ecology research support system meteorology dataset for Great Britain (1961-2015) [CHESS-met] v1.2. NERC Environmental Information Data Centre. Retrieved from doi.org/10.5285/b745e7b1-626c-4ccc-ac27-56582e77b900