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

ECMWF, model ifs, product enfo, xarray produces list of dataset, not a dataset #396

Open
conbrad opened this issue Dec 23, 2024 · 1 comment

Comments

@conbrad
Copy link

conbrad commented Dec 23, 2024

I'm looking to call pick_points on the xarray dataset returned by H.xarray for ECMWF, model ifs, product enfo, but it seems this returns a list of datasets (of length 2). This seems to be the only case where the return type is different although I haven't tested exhaustively.

e.g.

from herbie import Herbie
H = Herbie("2024-12-23", model="ifs", product="enfo")
ds = H.xarray(":2d:")
type(ds)

output:

list
@williamhobbs
Copy link
Contributor

I think one item in the list is an xarray dataset with all 50 ensemble members, and the other is the mean of all members. I’m not 100% sure about the mean, so you may want to check that elsewhere.

See #369 for some related notes on the order of the returned datasets.

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