Skip to content

PMP enso #273

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

Draft
wants to merge 33 commits into
base: main
Choose a base branch
from
Draft

PMP enso #273

wants to merge 33 commits into from

Conversation

lee1043
Copy link
Contributor

@lee1043 lee1043 commented May 5, 2025

Description

Checklist

Please confirm that this pull request has done the following:

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

@lee1043 lee1043 mentioned this pull request May 5, 2025
3 tasks
* origin/main: (38 commits)
  Add changelog
  Bump sample data to v0.5.1
  Add regression test data
  chore: Remove old migration for metric_value columns
  test: Ensure that run is correctly mocked
  chore: Fix last test
  chore: Update cmec metric bundles
  revert: Roll back changing the data requirements for the modes of variability
  chore: revert some changes to avoid to many changes in this PR
  test: Add tests for remove_dimensions
  test: Fix tests
  fix: Add additional facets to variability modes
  fix: Add additional facets to annual_cycle
  chore: Remove excess dimensions and replace with selectors
  chore: Remove excess dimensions and replace with selectors
  test: Add ilamb integration test
  feat: Add a prepend routine
  chore: Check that metric bundles have the correct dimensions
  chore: Reorder functions
  docs: Changelog
  ...
DataRequirement(
source_type=SourceDatasetType.obs4MIPs,
filters=(FacetFilter(facets={"source_id": obs_sources, "variable_id": obs_variables}),),
group_by=("source_id", "variable_id"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
group_by=("source_id", "variable_id"),
group_by=("source_id",),

I think that you are trying to get two obs groups one per source id rather than multiple groups per source id

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lewisjared There are some metrics that takes two different variables from two different sources, e.g., pr from GPCP and ts from HadSST. Can I leave group_by empty (group_by = ()) for such cases?

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.

2 participants