Skip to contents

Run request (may take a while as nothing happens because many requests R are queued (in addition: maximum request data amount limited to 140000 data points). To check queue status: "https://cds.climate.copernicus.eu/cdsapp#!/yourrequests?tab=form"

Usage

copernicus_cds(
  variable = "2m_temperature",
  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

variable

variable to query "2m_temperature"

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

path to file with exported data