download_chelsa: Download the CHELSA modern observations.

View source: R/download_chelsa.R

download_chelsaR Documentation

Download the CHELSA modern observations.

Description

This function downloads monthly variables from the CHELSA 2.1 dataset. These variables are saved in a format that can be read by load_chelsa, and easily used for delta downscaling palaeoclimate observations.

Usage

download_chelsa(var, res, path = NULL, version = "2.1", ...)

Arguments

var

character Valid variables names are "tas", "tasmax","tasmin", and "prec".

path

character. Path where to download the data to. If left NULL, the data will be downloaded from the directory returned by get_data_path().

Details

Note that variables are named differently from WorldClim. "tas" is the mean temperature ("tavg" in WorldClim), with "tasmax" and "tasmin" being equivalent to "tmax" and "tmin".

Value

TRUE if the requested CHELSA variable was downloaded successfully.


EvolEcolGroup/pastclim documentation built on Nov. 6, 2023, 5:11 a.m.