Skip to content

Conversation

@lewisjared
Copy link
Contributor

@lewisjared lewisjared commented Apr 30, 2025

Description

Support multiple data requirements, either a list of data requirements or a list of lists of data requirements where each inner list is processed independently.

These different sets of data requirements can have different group bys and different filters.

Checklist

Please confirm that this pull request has done the following:

  • Tests added
  • Documentation added (where applicable)
  • Changelog item added to changelog/

@lewisjared
Copy link
Contributor Author

@lee1043 Can you please take a look at the updated data requirements for your annual cycle metric and the associated test to confirm that is what you intended

@codecov
Copy link

codecov bot commented Apr 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
...trics-pmp/src/cmip_ref_metrics_pmp/annual_cycle.py 82.05% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lewisjared
Copy link
Contributor Author

This is a very light touch fix to #240. This should be sufficient until we have stricter requirements

Copy link
Contributor

@lee1043 lee1043 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed the annual cycle works okay with ts variable. Couldn't complete because of CMEC test failing, but as it will be addressed in a separate PR, I think this PR is good to go.

@lee1043 lee1043 mentioned this pull request Apr 30, 2025
3 tasks
@lewisjared lewisjared merged commit e274731 into main Apr 30, 2025
1 check passed
@lewisjared lewisjared deleted the or-data-requirements branch April 30, 2025 23:08
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.

3 participants