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

More flexible metric matching + better error for missing match_attrs #275

Merged
merged 4 commits into from Jan 3, 2023

Conversation

jbusecke
Copy link
Owner

@jbusecke jbusecke commented Jan 2, 2023

I recently encountered an error when trying to match metrics for already aggregated (members) datasets from intake-esm. This PR introduces a more flexible matching:

  • We still prefer the closest match, but this only takes into account attributes that are present on all datasets (+metric datasets). As long as the given match_attrs are in each dataset a match is performed (this previously errored).
  • If any of the datasets is missing one of match_attrs, the error message is now more clear.

@jbusecke jbusecke mentioned this pull request Jan 3, 2023
@jbusecke
Copy link
Owner Author

jbusecke commented Jan 3, 2023

The docs failure seems unrelated for now. I opened a separate issue for that (#276)

@jbusecke jbusecke merged commit 8102c06 into main Jan 3, 2023
jbusecke added a commit that referenced this pull request Jan 3, 2023
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

Successfully merging this pull request may close these issues.

None yet

1 participant