fix bug in common/io.py when retrieving the fstep in ZarrIO - #2771
fix bug in common/io.py when retrieving the fstep in ZarrIO #2771iluise wants to merge 6 commits into
Conversation
This reverts commit e3b29be.
…evelop-score-bug-fixes
|
@grassesi : could you have a look? |
|
I have not verified yet, but i am a bit puzzled by this PR: Usually validation io should filter for input only streams.. Looking at the stacktrace linked in the original Issue, the failing line is the |
|
I just tested and ran into the same error again. I'll have a dig and see if maybe changing the |
Description
There is a bug in common/io.py when retrieving the fstep info from ZarrIO.
the code looks for the 0/ERA5_in/0 group even if this stream was used just in input.
Changed it to loop over the streams and actually open only the first available stream in output.
Issue Number
Closes #2770
Is this PR a draft? Mark it as draft.
Checklist before asking for review
./scripts/actions.sh lint./scripts/actions.sh unit-test./scripts/actions.sh integration-testlaunch-slurm.py --time 60FastEvaluation