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.

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: To be triaged

Development

Successfully merging this pull request may close these issues.

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

2 participants