Repository navigation
Applying aggregations to only certain subsets of catalogs? #544
Unanswered
riley-brady
asked this question in
Q&A
Replies: 1 comment
|
unfortunately, this is not supported. However, if you are okay with working with two catalog objects, you could try the following
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is there a way to apply aggregations to only certain subsets of a catalog?
For instance, imagine I have a setup like
I would like
intake-esmto concatenate over amodeldimension, only for certain subsets of the catalog.For datasets from
source='a', each model is the same resolution so they can be concatenated into a multi-model ensemble mean. For datasets fromsource='b'(e.g. CMIP6), they are all different resolutions and cannot be concatenated.If I take a catalog subset with source 'a', this aggregation works perfectly, but of course throws an error if the subset includes source 'b'.
Possible solutions (not ideal):
subset.to_dataset_dict(aggregate=False)modelrule for concatenatingAll reactions