Skip to content

Fix scaling of missing values in encode-mtg2 action#248

Merged
dsarmany merged 1 commit intodevelopfrom
fix/encode-mtg2-scaling
Mar 18, 2026
Merged

Fix scaling of missing values in encode-mtg2 action#248
dsarmany merged 1 commit intodevelopfrom
fix/encode-mtg2-scaling

Conversation

@tweska
Copy link
Member

@tweska tweska commented Mar 13, 2026

This PR skips missing values in the scaling logic in the encode-mtg2 action to be consistent with the scale action.

🌈🌦️📖🚧 Documentation 🚧📖🌦️🌈
https://sites.ecmwf.int/docs/dev-section/multio/pull-requests/PR-248

@tweska tweska requested review from HCookie and dsarmany March 13, 2026 14:50
@codecov-commenter
Copy link

codecov-commenter commented Mar 13, 2026

Codecov Report

❌ Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.34%. Comparing base (b7bc29b) to head (9a8f45b).

Files with missing lines Patch % Lines
src/multio/action/encode-mtg2/EncodeMtg2.cc 0.00% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #248      +/-   ##
===========================================
- Coverage    56.35%   56.34%   -0.02%     
===========================================
  Files          321      321              
  Lines        21141    21145       +4     
  Branches      1679     1680       +1     
===========================================
  Hits         11915    11915              
- Misses        9226     9230       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

HCookie
HCookie previously approved these changes Mar 13, 2026
Copy link
Member

@HCookie HCookie left a comment

Choose a reason for hiding this comment

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

Thanks, with this and a key update, works for me

@HCookie
Copy link
Member

HCookie commented Mar 17, 2026

This is a blocking bug to the AIFS v2 adoption of multio, can this be resolved as soon as possible?

@tweska tweska force-pushed the fix/encode-mtg2-scaling branch from 0e13736 to d372dab Compare March 17, 2026 16:40
@tweska tweska force-pushed the fix/encode-mtg2-scaling branch from d372dab to cbda369 Compare March 17, 2026 16:41
@tweska
Copy link
Member Author

tweska commented Mar 17, 2026

I removed the misc- commit and rebased. I think this can be merged now.

@tweska tweska marked this pull request as ready for review March 17, 2026 16:42
Missing values should not be scaled
@tweska tweska force-pushed the fix/encode-mtg2-scaling branch from cbda369 to 9a8f45b Compare March 18, 2026 15:19
@dsarmany dsarmany merged commit d9ec0f6 into develop Mar 18, 2026
151 checks passed
@dsarmany dsarmany deleted the fix/encode-mtg2-scaling branch March 18, 2026 15:57
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.

5 participants