Skip to content

Conversation

@b8raoult
Copy link
Collaborator

@b8raoult b8raoult commented Nov 3, 2025

Description

Revisit the way datasets creation is tested with pytest and added a few tests. We can now test some recipes without creating a reference result. Instead we can run other checks (to be written)

The tests will run any YAML recipes in the same directory. Which check to do on the results is described in the very same YAML:

checks:
- variables: [ wdir, ws ]
- dates:
  - 2020-01-01T00:00:00
  - 2020-01-01T12:00:00

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.

@github-project-automation github-project-automation bot moved this to To be triaged in Anemoi-dev Nov 3, 2025
@github-actions github-actions bot added tests enhancement New feature or request labels Nov 3, 2025
@b8raoult b8raoult changed the title Feat/tests for create feat: review datasets creation tests Nov 3, 2025
@HCookie HCookie moved this from To be triaged to Reviewers needed in Anemoi-dev Nov 17, 2025
@HCookie HCookie requested review from aaron-hopkinson and floriankrb and removed request for aaron-hopkinson November 17, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Reviewers needed

Development

Successfully merging this pull request may close these issues.

3 participants