if (FALSE) {
ERA <- wf_archetype(
request = list(
dataset_short_name = "reanalysis-era5-pressure-levels",
product_type = "reanalysis",
variable = "geopotential",
year = "2024",
month = "03",
day = "01",
time = "13:00",
pressure_level = "1000",
data_format = "grib",
target = "download.grib"
),
dynamic_fields = c("year", "day", "target")
)
# print output of the function with below (new) parameters
str(ERA(2021, 3, "new_download.grip"))
}
Run the code above in your browser using DataLab