Learn R Programming

evapoRe (version 1.0.1)

download_data: Download various evapotranspiration data products

Description

The function download_data downloads the selected data product.

Usage

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

Value

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

Arguments

data_name

a character string with the name(s) of the desired data set. Suitable options are:

  • "all" for all of the below listed data sets (default),

  • "bess" for BESS,

  • "camele" for CAMELE,

  • "era5" for ERA5,

  • "era5-land" for ERA5-Land,

  • "fldas" for FLDAS,

  • "gldas-clsm-v2-0" for GLDAS CLSM version 2.0,

  • "gldas-clsm-v2-1" for GLDAS CLSM version 2.1,

  • "gldas-noah-v2-0" for GLDAS NOAH version 2.0,

  • "gldas-noah-v2-1" for GLDAS NOAH version 2.1,

  • "gldas-vic-v2-0" for GLDAS VIC version 2.0,

  • "gldas-vic-v2-1" for GLDAS VIC version 2.1,

  • "gleam-v3-7a" for GLEAM version 3.7a,

  • "gleam-v4-1a" for GLEAM version 4.1a,

  • "jra-55" for JRA-55,

  • "merra-2" for MERRA-2,

  • "terraclimate" for TerraClimate,

  • "etmonitor" for ETMonitor,

  • "etsynthesis" for SynthesizedET,

  • "sith" for Simple Terrestrial Hydrosphere model, version 2.

path

a character string with the path where the database 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:

  • "daily",

  • "monthly",

  • "yearly".

variable

a character string specifying the variable to download (default = "e").

Examples

Run this code
# \donttest{
download_data("gldas-vic-v2-1", tempdir())
# }

Run the code above in your browser using DataLab