Skip to content

Correctly handle scalar coords in aggregated cubes#2027

Merged
James Frost (jfrost-mo) merged 1 commit into
mainfrom
2023_improve_aggregation_reliability
Apr 13, 2026
Merged

Correctly handle scalar coords in aggregated cubes#2027
James Frost (jfrost-mo) merged 1 commit into
mainfrom
2023_improve_aggregation_reliability

Conversation

@jfrost-mo
Copy link
Copy Markdown
Member

@jfrost-mo James Frost (jfrost-mo) commented Apr 7, 2026

This opens up the aggregation recipes to support aggregating across single values, which while theoretically useless ensures that aggregation can remain enabled across varied data.

Testing on a single forecast (2026-04-07T05:00Z initialisation time) of MOGREPS-UK forecast PP files from MASS worked.

Fixes #2023.

Contribution checklist

Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

  • Documentation has been updated to reflect change.
  • New code has tests, and affected old tests have been updated.
  • All tests and CI checks pass.
  • Ensured the pull request title is descriptive.
  • Ensure rose-suite.conf.example has been updated if new diagnostic added.
  • Conda lock files have been updated if dependencies have changed.
  • Attributed any Generative AI, such as GitHub Copilot, used in this PR.
  • Marked the PR as ready to review.

@jfrost-mo James Frost (jfrost-mo) added the bug Something isn't working label Apr 7, 2026
@jfrost-mo James Frost (jfrost-mo) force-pushed the 2023_improve_aggregation_reliability branch from 4be567a to 250ea8d Compare April 7, 2026 13:25
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 7, 2026

Coverage

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These changes look fine, but I'd like mo-tomosevans to try them on the data that caused the issues before the PR is approved.

Copy link
Copy Markdown

@mo-tomosevans mo-tomosevans left a comment

Choose a reason for hiding this comment

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

Just produced the plots below for MOGREPS-UK trial data, so the changes look good to go for me!

Screenshot (20)

This opens up the aggregation recipes to support aggregating across
single values, which while theoretically useless ensures that
aggregation can remain enabled across varied data.
@jfrost-mo James Frost (jfrost-mo) force-pushed the 2023_improve_aggregation_reliability branch from 250ea8d to b84b0d0 Compare April 13, 2026 12:18
@jfrost-mo James Frost (jfrost-mo) merged commit b84b0d0 into main Apr 13, 2026
8 checks passed
@jfrost-mo James Frost (jfrost-mo) deleted the 2023_improve_aggregation_reliability branch April 13, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Built-in aggregation recipes do not work for operational UKV/MORGEPSUK data form MASS

3 participants