The function download_data
downloads the selected data product.
download_data(
data_name = "all",
path = "",
domain = "raw",
time_res = "monthly",
variable = "e"
)
No return value, called to download the required data sets.
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.
a character string with the path where the database will be downloaded.
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.
a character string with the desired time resolution. Suitable options are:
"daily",
"monthly",
"yearly".
a character string specifying the variable to download (default = "e").
# \donttest{
download_data("gldas-vic-v2-1", tempdir())
# }
Run the code above in your browser using DataLab