Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem retrieving multiple variables from CDS #9

Closed
seyiaros opened this issue Feb 26, 2019 · 3 comments
Closed

Problem retrieving multiple variables from CDS #9

seyiaros opened this issue Feb 26, 2019 · 3 comments

Comments

@seyiaros
Copy link

I get error messages when I tried to retrieve multiple variables from the CDS store. Below is my request list using the ecmwf package:
request <- list("dataset" = "reanalysis-era5-single-levels",
"product_type" = "reanalysis",
"variable" = c("10m_u_component_of_wind", "10m_u_component_of_wind",
"10m_v_component_of_wind","2m_temperature", "mean_boundary_layer_dissipation",
"total_precipitation"),
"year" = "2010",
"month" = "01",
"day" = "01",
"area" = "-28/25/48/22",
"format" = "netcdf",
"time" = "00:00",
"target" = "era5-jan2010.nc")

However, I am able to retrieve one variable.

Thanks
Seyi

@khufkens
Copy link
Member

10m_u_component_of_wind is mentioned twice

@seyiaros
Copy link
Author

Many thanks, @khufkens. Sorry I didn't figure out myself. I have successfully retrieved the variables in the request list.

@khufkens
Copy link
Member

No worries, always check parameters (and formatting), normally the package just forwards things to the API so whatever is possible in a MARS request should work in the package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants