Skip to content

Commit 5720051

Browse files
Add .$DATENAME to ocean rpointer file pattern in config_archive.xml (#333)
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.
1 parent d070c99 commit 5720051

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cime_config/config_archive.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<hist_file_extension>e</hist_file_extension>
1818
<hist_file_ext_regex>\w+\.\w+(\._\d*)?</hist_file_ext_regex>
1919
<rpointer>
20-
<rpointer_file>rpointer.ocn$NINST_STRING</rpointer_file>
20+
<rpointer_file>rpointer.ocn$NINST_STRING.$DATENAME</rpointer_file>
2121
<rpointer_content>$CASE.mom6$NINST_STRING.r.$DATENAME.nc</rpointer_content>
2222
</rpointer>
2323
<test_file_names>

0 commit comments

Comments
 (0)