Add option to expand ensembles#206
Conversation
Nice addition. I think that normal glob rules provided by |
This will be nice, but they are two different kind of animals:
What we can do to avoid confussion is to change the syntax to avoid both paradigms to coexist. |
This is a feature that several users have asked me about. I agree that it is not trivial to implement.
Yes, I think it's important to think about this. Of course we also have the |
… into ensemble_expansion
… into ensemble_expansion
I think the square brackets are not good in that case, because those can also be used in globs. Maybe use (1:30) instead? |
|
Good idea. Already implemented |
bouweandela
left a comment
There was a problem hiding this comment.
Could you also add documentation? This might be a good place.
… into ensemble_expansion
In CMIP6, some models are providing 30 ensemble members or more. Processing them all is currently a nightmare of copy pasting and very error prone:
The currently implemented syntax is the following:
- {<<: *cmip, dataset: IPSL-CM6A-LR, ensemble: 'r[1:30]i1p1f1'}This will add all datasets from
r1i1p1f1tor30i1p1f1, making dealing with big ensembles easier.Any suggestions on the syntax are welcome. The current code only supports expanding one of the numbers.