Skip to content

Conversation

@flyIchtus
Copy link
Contributor

@flyIchtus flyIchtus commented Jan 29, 2026

Description

Adding "timespan" as a key to be ignored in the building of accumulator objects.

What problem does this change solve?

Accumulator objects are created with different identifiers, depending of the 'timespan' value for the field they encounter first.
This leads to incomplete accumulations when fields have different values of timespan (independently of field steps).
This PR filters this key out for building accumulators, since this key is related to specific temporal metadata.

What issue or task does this change relate to?

Closes #517

Additional notes

As a contributor to the Anemoi framework, please ensure that your changes include unit tests, updates to any affected dependencies and documentation, and have been tested in a parallel setting (i.e., with multiple GPUs). As a reviewer, you are also responsible for verifying these aspects and requesting changes if they are not adequately addressed. For guidelines about those please refer to https://anemoi.readthedocs.io/en/latest/

By opening this pull request, I affirm that all authors agree to the Contributor License Agreement.


📚 Documentation preview 📚: https://anemoi-datasets--516.org.readthedocs.build/en/516/

@flyIchtus flyIchtus self-assigned this Jan 29, 2026
@github-project-automation github-project-automation bot moved this to To be triaged in Anemoi-dev Jan 29, 2026
@flyIchtus flyIchtus changed the title filter out timespan as key for accumulator fix:filter out timespan as key for accumulator Jan 29, 2026
@flyIchtus flyIchtus changed the title fix:filter out timespan as key for accumulator fix: filter out timespan as key for accumulator Jan 29, 2026
@flyIchtus flyIchtus marked this pull request as ready for review January 29, 2026 10:13
@github-actions github-actions bot added the tests label Feb 3, 2026
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Feb 4, 2026
floriankrb
floriankrb previously approved these changes Feb 5, 2026
@github-project-automation github-project-automation bot moved this from To be triaged to For merging in Anemoi-dev Feb 5, 2026
@flyIchtus flyIchtus merged commit 6fb7f2b into main Feb 6, 2026
72 checks passed
@flyIchtus flyIchtus deleted the fix/add-patch-for-accum-timespan branch February 6, 2026 10:03
@github-project-automation github-project-automation bot moved this from For merging to Done in Anemoi-dev Feb 6, 2026
JPXKQX pushed a commit that referenced this pull request Feb 6, 2026
🤖 Automated Release PR

This PR was created by `release-please` to prepare the next release.
Once merged:

1. A new version tag will be created
2. A GitHub release will be published
3. The changelog will be updated

Changes to be included in the next release:
---


##
[0.5.32](0.5.31...0.5.32)
(2026-02-06)


### Bug Fixes

* Filter out timespan as key for accumulator
([#516](#516))
([6fb7f2b](6fb7f2b))
* **max_distance_km:** Add new max_distance_km argument to cutout
([#530](#530))
([a94f3bc](a94f3bc))

---
> [!IMPORTANT]
> Please do not change the PR title, manifest file, or any other
automatically generated content in this PR unless you understand the
implications. Changes here can break the release process.
> ⚠️ Merging this PR will:
> - Create a new release
> - Trigger deployment pipelines
> - Update package versions

 **Before merging:**
 - Ensure all tests pass
 - Review the changelog carefully
 - Get required approvals

[Release-please
documentation](https://github.com/googleapis/release-please)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ATS Approval not needed documentation Improvements or additions to documentation tests

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Accumulation fail for set of fields having different values of "timespan"

2 participants