This function allows to download data from WorldClim v.2.1 (https://www.worldclim.org/data/index.html) considering multiple GCMs, time periods and SSPs.
Usage
download_worldclim(period = 'current', variable = 'bio', year = '2030', gcm = 'mi', ssp = '126', resolution = 10)
Arguments
- period
Can be 'current' or 'future'.
- variable
Allows to specify which variables you want to retrieve Possible entries are: 'tmax','tmin','prec' and/or 'bioc'.
- resolution
You can select one resolution from the following alternatives: 10, 5, 2.5 OR 30.
- year
Specify the year you want to retrieve data. Possible entries are: '2030', '2050', '2070' and/or '2090'. You can use a vector to provide more than one entry.
- gcm
GCMs to be considered in future scenarios. You can use a vector to provide more than one entry.
CODE GCM ac ACCESS-CM2 ae ACCESS-ESM1-5 bc BCC-CSM2-MR ca CanESM5 cc CanESM5-CanOE ce CMCC-ESM2 cn CNRM-CM6-1 ch CNRM-CM6-1-HR cr CNRM-ESM2-1 ec EC-Earth3-Veg ev EC-Earth3-Veg-LR fi FIO-ESM-2-0 gf GFDL-ESM4 gg GISS-E2-1-G gh GISS-E2-1-H hg HadGEM3-GC31-LL in INM-CM4-8 ic INM-CM5-0 ip IPSL-CM6A-LR me MIROC-ES2L mi MIROC6 mp MPI-ESM1-2-HR ml MPI-ESM1-2-LR mr MRI-ESM2-0 uk UKESM1-0-LL - ssp
SSPs for future data. Possible entries are: '126', '245', '370' and/or '585'. You can use a vector to provide more than one entry.