Description Usage Arguments Value References
Currently, CRU TS 4.01 is supported out of the box; for E-OBS > 18e, NetCDF files with monthly resolution have to be produced first, e.g. using CDO commands.
1 2 3 4 5 6 7 8 9 10 11 12 |
x |
a data.frame with at least id, lon, and lat |
nc_path |
absolute path to the NetCDF file with monthly climate data |
wc_dir |
absolute path to the WorldClim v2.0 TIF files for the respective climate parameter |
varname |
the name of the climate variable in the NetCDF file |
mode |
either "auto", or one of "temp" or "prec" |
id |
character string indicating name of column in x that holds unique location ids |
parallel |
if TRUE (default), some parts of the code are run in parallel for speed gain |
use_chelsa |
if TRUE, use CHELSA data instead of WorldClim for downscaling |
wc_bilinear |
if TRUE, bilinearly interpolate worldclim data as well |
a tidy data.frame with id, year, month, and the extracted climate variable
Mosier, T. M., Hill, D. F., & Sharp, K. V. (2014). 30-Arcsecond monthly climate surfaces with global land coverage. International Journal of Climatology, 34(7), 2175–2188. https://doi.org/10.1002/joc.3829
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.