Open williamhobbs opened 1 month ago
As a workaround to get just the dataset with all the members, I check to see which one has number
in the dimensions:
if 'number' in list(ds[1].dims):
ds = ds[1]
else:
ds = ds[0]
I'm sure there's a better way, but I think this works. And it could be extended a bit to re-order the datasets into a consistent order.
For some ECMWF ensemble
fxx
values, the first dataset is all members and the second is the mean, but for otherfxx
values, the order is swapped. Is this expected?Started with https://herbie.readthedocs.io/en/latest/gallery/ecmwf_models/ecmwf.html#Ensemble-Forecast-Products.
Here's an example:
ds[0]
returns all 50 members:and
ds[1]
returns (presumably?) the mean:But, if I change
fxx
, I sometimes get the opposite: