Gives the average values on the data recovered between 1981 and 2010. Monthly variables are average temperatures, min temperatures, max temperatures, precipitation, potential evapotranspiration (with Penman formula and with Thornthwaite formula), and total cloud cover. Others variables are climatic water deficit (with Penman and Thornthwaite), number of dry month (with Penman and Thornthwaite) and 19 bio variables (more information in chelsa documentation).

get_chelsa_current(
  extent_latlon,
  extent_proj,
  EPSG_proj,
  destination,
  resol = 1000,
  rm_download = FALSE
)

Arguments

extent_latlon

num vector. Must be in the form c(lonmin, latmin, lonmax, latmax). This extent is used to download climatic data using GDAL function gdal_translate and properties of COG files. This extent can be obtained with the get_aoi_extent() function.

extent_proj

num vector. Must be in the form c(xmin, ymin, xmax, ymax). This extent is used for the output raster file. This extent can be obtained with the get_aoi_extent() function.

EPSG_proj

int. EPSG code used to define the coordinate reference system to project the output raster file.

destination

character. Directory path for outputs.

resol

int. Resolution. If in meters, recommended resolutions are 250m, 500m, 1km, 2km or 5km. The resolution needs to be carefully chosen. If set too small (e.g. < 250m), raster file will be too big to fit in memory and R will crash. Default is 1km.

rm_download

boolean. If TRUE, remove downloaded files and folders except current_chelsa.tif file in the data_raw folder. Default is FALSE.

Value

character. The absolute path to the current_chelsa.tif file.

Details

Unit of each climatic variable :

NameUnit
Temperature average (tas)°C x 10
Temperature min (tasmin)°C x 10
Temperature max (tasmax)°C x 10
Precipitationkg.m^-2
Cloud area fraction (clt)%
PET Penmankg.m^-2
PET Thornthwaitekg.m^-2
Climatic water deficit (Penman)kg.m^-2
Climatic dater deficit (Thornthwaite)kg.m^-2
Number of dry months (Penman)month
Number of dry months (Thornthwaite)month
bio1°C x 10
bio2°C x 10
bio3°C x 10
bio4°C x 10
bio5°C x 10
bio6°C x 10
bio7°C x 10
bio8°C x 10
bio9°C x 10
bio10°C x 10
bio11°C x 10
bio12kg.m^-2.year^-1
bio13kg.m^-2.month^-1
bio14kg.m^-2.month^-1
bio15kg.m^-2
bio16kg.m^-2.month^-1
bio17kg.m^-2.month^-1
bio18kg.m^-2.month^-1
bio19kg.m^-2.month^-1