chelsa_get: Download CHELSA V_2.1 data

Description Usage Arguments Author(s) References Examples

View source: R/chelsa_get.R

Description

This function downloads CHELSA V_2.1 climate layers (Karger et al., 2017) into a specified folder.

Usage

1
chelsa_get(target_path, years, vars, months)

Arguments

target_path

Download folder on local machine

years

Vector containing the years from which monthly data should be downloaded (must be between 1972-2013)

vars

Character string containing the CHELSA variables to be downloaded, can be one or more of "pr", "tas", "tasmax", "tasmin".

months

Vector containing the months to be downloaded (1-12).

Author(s)

Simon Kapitza simon.statecology@gmail.com

References

Karger, D., Conrad, O., Böhner, J. et al. Climatologies at high resolution for the earth’s land surface areas. Sci Data 4, 170122 (2017). https://doi.org/10.1038/sdata.2017.122

Examples

1
2
3
4
5
vars <- c("pr", "tas", "tasmax", "tasmin")
months <- 1:12
years <- c(1979:1981)
path <- "mypath/"
chelsa_get(target_path, years, vars, months)

kapitzas/WorldClimTiles documentation built on July 13, 2021, 4:51 p.m.