Skip to contents

Runs copernicus_cds in parallel for all variables defined in parameter "variables" on all machine cores minus one

Usage

copernicus_cds_parallel(
  variables = c("2m_temperature", "evaporation", "potential_evaporation",
    "precipitation_type", "runoff", "sub_surface_runoff", "surface_runoff",
    "total_precipitation"),
  dataset_short_name = "reanalysis-era5-single-levels",
  product_type = "reanalysis",
  years = as.character(seq(2010, 2020)),
  area = c(40, 116, 39, 117),
  file_format = "grib",
  export_dir = "."
)

Arguments

variables

default: c("2m_temperature", "evaporation", "potential_evaporation", "precipitation_type", "runoff", "sub_surface_runoff", "surface_runoff", "total_precipitation")

dataset_short_name

"reanalysis-era5-single-levels"

product_type

default: "reanalysis"

years

character vector of years (default: as.character(seq(2010, 2020)))

area

area coordinates in latitude/longitude (default: c(40, 116, 39, 117))

file_format

"grib" or "netcdf"

export_dir

default: "."

Value

list with paths to downloaded files