Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for post-processors and change in default accumulation behaviour #131

Open
gmertes opened this issue Feb 6, 2025 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@gmertes
Copy link
Member

gmertes commented Feb 6, 2025

The current default behaviour for accumulation variables is to accumulate them at every step with the value of the previous step, starting from the beginning of the forecast.

We are changing that behaviour and will no longer accumulate from the beginning by default. If the user wants this behaviour, it needs to be explicitly turned on in the config.

This change will go together with a new post-processor feature, that allows for extendable post-processors. The accumulation operation will be a post-processor.

The proposed config format is:

post_processors:
  - accumulate
  - do_something_else
  - ...

(exact naming is not determined yet, open to feedback)

The default accumulation behaviour will be rolled out in steps, so users have time to adjust:

  1. Existing users will not have the post_processors entry in their config. For those users, we still accumulate by default but show a warning that this behaviour will change in the future.
  2. Users can explicitly turn accumulation on or off by specifying the post_processors entry in the config, with either an empty list or accumulate in the list.
  3. Finally and after some time, for users that still do not have post_processors in their config, we change the default behaviour to not accumulate by default anymore.
@gmertes gmertes added the enhancement New feature or request label Feb 6, 2025
@gmertes gmertes self-assigned this Feb 6, 2025
@gmertes gmertes moved this to Next Up in Anemoi-dev Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Next Up
Development

No branches or pull requests

1 participant