Skip to content

Commit 82962ad

Browse files
authored
DART enhancements to st_archive (#260)
* Added code to make st-archive handle DART files * Updated config_archive.xml to focus only on DART needs. Replaced previous mom_st-arch_dart version with a one focused on DART. Additional (non-DART) proposed fixes will be in the next commit. * Added fixes to non-DART-related regular expressions.
1 parent ce79f0e commit 82962ad

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

cime_config/config_archive.xml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,20 @@
33
<rest_file_extension>r</rest_file_extension>
44
<!-- match filenames of the form
55
h[.optional stream name][._optional instance number].(date string).nc[.optional tile number] -->
6-
<hist_file_extension>h(\.\w+)?(\._\d*)?\.[-\d+]+\.nc(\.\d*)?$</hist_file_extension>
6+
<hist_file_extension>h(\.\w+)?(\._\d*)?\.[-\d+]+\.nc(\.\d*)?(\.gz)?$</hist_file_extension>
77
<!-- match filenames of the form
88
h.(static|ocean_geometry)[._optional instance number].nc[.optional tile number] -->
9-
<hist_file_extension>h\.(static|ocean_geometry)(\._\d*)?\.nc(\.\d*)?$</hist_file_extension>
9+
<hist_file_extension>h\.(static|ocean_geometry)(\._\d*)?\.nc(\.\d*)?(\.gz)?$</hist_file_extension>
1010
<!-- match filenames of the form
1111
h.bgc.*[._optional instance number].nc -->
12-
<hist_file_extension>h\.bgc\..*?.?[_\d+]+.nc$</hist_file_extension>
12+
<hist_file_extension>h\.bgc\..*(\._\d+)?\.nc$</hist_file_extension>
1313
<!-- match filenames of the form
14-
ic.(date string[_optional id for splitting date over many files)[._optional instance number].nc[.optional tile number] -->
15-
<hist_file_extension>ic.[-\d(_\d)?+]+(\._\d*)?\.nc(\.\d*)?$</hist_file_extension>
16-
<hist_file_ext_regex>\w+\.\w+(\.\w+)?(\._\d*)?</hist_file_ext_regex>
14+
ic.(date string)[._optional instance number].nc[.optional tile number] -->
15+
<hist_file_extension>ic\.[-\d_]+(\._\d*(_\d)?)?\.nc(\.\d*)?$</hist_file_extension>
16+
<hist_file_extension>e</hist_file_extension>
17+
<hist_file_ext_regex>\w+\.\w+(\._\d*)?</hist_file_ext_regex>
1718
<rpointer>
18-
<rpointer_file>rpointer.ocn$NINST_STRING.$DATENAME</rpointer_file>
19+
<rpointer_file>rpointer.ocn$NINST_STRING</rpointer_file>
1920
<rpointer_content>$CASE.mom6$NINST_STRING.r.$DATENAME.nc</rpointer_content>
2021
</rpointer>
2122
<test_file_names>

0 commit comments

Comments
 (0)