Skip to content

Set date/time in StageRuntime instead of Preset#191

Open
pgeier wants to merge 1 commit intodevelopfrom
feature/mars2grib-cache-datetime
Open

Set date/time in StageRuntime instead of Preset#191
pgeier wants to merge 1 commit intodevelopfrom
feature/mars2grib-cache-datetime

Conversation

@pgeier
Copy link
Copy Markdown
Contributor

@pgeier pgeier commented Apr 2, 2026

Description

The mars2grib encoder currently sets date and time once in the preset stage. For climate-dt monthly means will produce increasing date/time. To efficiently reuse previously cached grib2 handles, the date/time must be set in the latest stage (runtime).

Contributor Declaration

By opening this pull request, I affirm the following:

  • All authors agree to the Contributor License Agreement.
  • The code follows the project's coding standards.
  • I have performed self-review and added comments where needed.
  • I have added or updated tests to verify that my changes are effective and functional.
  • I have run all existing tests and confirmed they pass.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.95%. Comparing base (f97d405) to head (ed76f11).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #191   +/-   ##
========================================
  Coverage    61.95%   61.95%           
========================================
  Files          303      303           
  Lines        11673    11673           
  Branches      1046     1046           
========================================
  Hits          7232     7232           
  Misses        4441     4441           

☔ 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.

@MircoValentiniECMWF
Copy link
Copy Markdown
Contributor

There are several ways to achieve this result. The appropriate solution should be decided based on tests involving the other affected projects, as I noted in the Teams chat.

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