Skip to content

feat: implement fine control of variable compatibility#306

Open
b8raoult wants to merge 6 commits into
mainfrom
feat/earthkit-variables
Open

feat: implement fine control of variable compatibility#306
b8raoult wants to merge 6 commits into
mainfrom
feat/earthkit-variables

Conversation

@b8raoult

@b8raoult b8raoult commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Description

When combining data, anemoi will check that variables are compatible, i.e.,
that they have the same units, the same time processing (e.g. whether the data is instantaneous or accumulated),
the same time processing period (e.g. whether the data are 3-hourly or 6-hourly accumulations),
the same type of level (e.g. whether the data are on pressure levels or model levels), etc.

This PR implement the code to turn off some of the checks.

Related PRs:

What problem does this change solve?

What issue or task does this change relate to?

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.

@b8raoult b8raoult changed the title Feat/earthkit variables feat: implement fine control of variable compatibility Jun 16, 2026
@b8raoult b8raoult marked this pull request as ready for review June 16, 2026 17:58
@github-actions github-actions Bot added the enhancement New feature or request label Jun 17, 2026
HCookie pushed a commit to ecmwf/anemoi-inference that referenced this pull request Jun 17, 2026
Extracted from #513 (and applied to integration tests).

This PR would allow ecmwf/anemoi-transform#306
to be merged without requiring anemoi-inference to update its
anemoi-transform dependency. (And so #513 can be reviewed
independently).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: To be triaged

Development

Successfully merging this pull request may close these issues.

2 participants