download_t_data {evapoRe}R Documentation

Temperature Data Downloader

Description

Downloading Temperature data from different datasets

Usage

download_t_data(
  data_name,
  path = "",
  domain = "raw",
  time_res = "monthly",
  variable = "all"
)

Arguments

data_name

a character string indicating the dataset to download. Suitable options are:

  • "terraclimate" for TerraClimate dataset,

  • "cru" for CRU dataset,

  • "mswx" for MSWX dataset.

path

a character string with the path where the data will be downloaded.

domain

a character string with the desired domain data set. Suitable options are:

  • "raw" for default available spatial coverage,

  • "global" for data sets with global (land and ocean) coverage,

  • "land" for data sets with land only coverage,

  • "ocean" for data sets with ocean only coverage.

time_res

a character string with the desired time resolution. Suitable options are:

  • "monthly",

  • "yearly".

variable

a character string indicating the variable to download. Suitable options are: For TerraClimate dataset:

  • "t2m" for average temperature,

  • "tmin" for minimum temperature,

  • "tmax" for maximum temperature.

Use "all" to download all available variables for the dataset.

Value

No return value, called to download the required data sets.

Examples


download_t_data("cru", tempdir())


[Package evapoRe version 1.0.0 Index]