Skip to content

continue postprocessing even if restart-file does not exist#243

Merged
heikoklein merged 2 commits intomainfrom
240-ash-no-restart-file-when-runtime-does-not-reach-the-next-day
Feb 20, 2026
Merged

continue postprocessing even if restart-file does not exist#243
heikoklein merged 2 commits intomainfrom
240-ash-no-restart-file-when-runtime-does-not-reach-the-next-day

Conversation

@heikoklein
Copy link
Member

@heikoklein heikoklein commented Feb 20, 2026

eemep produces restart-files at midnight. For runs not running over midnight, no restart file will be created.

With this PR, this is turned from a abort/error to a warning and postprocessing continues.
In addition, the restart-file will be cleaned up before a new run is started, so an accidental download of an outdated file will be avoided.

fixes #240

@heikoklein heikoklein linked an issue Feb 20, 2026 that may be closed by this pull request
@heikoklein heikoklein requested a review from jjordene February 20, 2026 09:39
@heikoklein
Copy link
Member Author

Tested successfully on PPI with:

cp /lustre/storeB/project/fou/kl/eva/eemep/runs/etna/volcano.xml.short /lustre/storeB/project/fou/kl/eva/eemep/runs/etna/volcano.xml && SNAPPY=2.5.18.dev0-hk /home/emepgrp/ppi_emepgrp_rcron/projects/eemep2/eemepModelRunnerB.sh

@heikoklein heikoklein marked this pull request as ready for review February 20, 2026 10:28
@heikoklein heikoklein merged commit 20e849b into main Feb 20, 2026
4 checks passed
@heikoklein heikoklein deleted the 240-ash-no-restart-file-when-runtime-does-not-reach-the-next-day branch February 20, 2026 10:40
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.

(ASH) No restart file when runtime does not reach the next day

2 participants