Skip to content

Get stoch_restfile right with multiple restarts#401

Merged
alperaltuntas merged 1 commit into
NCAR:dev/ncarfrom
mnlevy1981:stoch_physics_multiple_restart
Nov 19, 2025
Merged

Get stoch_restfile right with multiple restarts#401
alperaltuntas merged 1 commit into
NCAR:dev/ncarfrom
mnlevy1981:stoch_physics_multiple_restart

Conversation

@mnlevy1981
Copy link
Copy Markdown
Collaborator

If MOM6 is writing so many restart fields to disk that FMS splits them across multiple restart files, the logic for determining the name of the restart for the stochastic_physics package needs to be applied to the first file listed (the one without "_N" between the datestamp and the .nc suffix)

Notes:

  1. @gustavo-marques provided the modified code from a testcase he ran back in September
  2. With this update, ERS.TL319_t232.GW1850MARBL_JRA.derecho_intel test passes; it had been failing because the additional tracers from MARBL generated 3 mom6.r. restart files instead of just one

If MOM6 is writing so many restart fields to disk that FMS splits them across
multiple restart files, the logic for determining the name of the restart for
the stochastic_physics package needs to be applied to the first file listed
(the one without "_N" between the datestamp and the .nc suffix)
@alperaltuntas alperaltuntas merged commit 312b327 into NCAR:dev/ncar Nov 19, 2025
52 checks passed
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.

2 participants