Skip to content

Automatically decrease the number of required past steps if data is missing - #29

Draft
KristianHMoller wants to merge 4 commits into
dmidk:mainfrom
KristianHMoller:feature/allow_only_2_images
Draft

KristianHMoller wants to merge 4 commits into
dmidk:mainfrom
KristianHMoller:feature/allow_only_2_images

Conversation

@KristianHMoller

@KristianHMoller KristianHMoller commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Currently, sunflow fails if the PAST_STEPS (default: 4) most recent satellite images are not available. This means that a single missing satellite image will cause 4 sequential nowcasts to fail.

This PR will allow sunflow to automatically decrease the required past steps all the way to two if the requested number is not available. The forecast quality is expected to be affected negatively by a reduced number of satellige images, so the forecast lenght is automatically similarly reduced.

If the number of past steps is reduced, a warning is printed in the metadata of the netcdf file

Is it useful for EnergiNet that the number of forecast steps is reduced? Or better to simply get the same output?

@KristianHMoller KristianHMoller changed the title Automatically decrease the number of required past steps to fit availability Automatically decrease the number of required past steps if data is missing Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant