Skip to content

Add .$DATENAME to ocean rpointer file pattern in config_archive.xml#333

Merged
alperaltuntas merged 1 commit into
ESCOMP:mainfrom
gustavo-marques:fix_rpointer
May 19, 2026
Merged

Add .$DATENAME to ocean rpointer file pattern in config_archive.xml#333
alperaltuntas merged 1 commit into
ESCOMP:mainfrom
gustavo-marques:fix_rpointer

Conversation

@gustavo-marques
Copy link
Copy Markdown
Collaborator

mom_cap.F90 writes dated rpointer files (rpointer.ocn.YYYY-MM-DD-SSSSS) by default, consistent with other components (CICE, CPL). The <rpointer_file> pattern was missing .$DATENAME, causing the archiver to fail matching the file and move it out of RUNDIR instead of copying it. This left RUNDIR without a rpointer file on the next segment, resulting in a buildnml error. Adding .$DATENAME fixes the match and ensures the file is copied, not moved. This was only a problem when ./xmlchange DOUT_S_SAVE_INTERIM_RESTART_FILES=True.

Solves #332.

mom_cap.F90 writes dated rpointer files (rpointer.ocn.YYYY-MM-DD-SSSSS) by default,
consistent with other components (CICE, CPL). The <rpointer_file> pattern was missing
.$DATENAME, causing the archiver to fail matching the file and move it out of
RUNDIR instead of copying it.
This left RUNDIR without a rpointer file on the next segment, resulting in a buildnml error.
Adding .$DATENAME fixes the match and ensures the
file is copied, not moved.
@alperaltuntas alperaltuntas merged commit 5720051 into ESCOMP:main May 19, 2026
6 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