Skip to content

Not all MARBL streams are archived #249

Closed
@mnlevy1981

Description

@mnlevy1981

When running the test suite with a G1850MARBL_JRA compset, the h.bgc.z stream was copied to the baseline directory but the h.bgc.native stream was not. I was able to fix this with

diff --git a/cime_config/config_archive.xml b/cime_config/config_archive.xml
index 9ad34a9..f0f19b6 100644
--- a/cime_config/config_archive.xml
+++ b/cime_config/config_archive.xml
@@ -8,8 +8,8 @@
          h.(static|ocean_geometry)[._optional instance number].nc[.optional tile number] -->
     <hist_file_extension>h\.(static|ocean_geometry)(\._\d*)?\.nc(\.\d*)?$</hist_file_extension>
     <!-- match filenames of the form
-         h.bgc.*[._optional instance number].nc -->
-    <hist_file_extension>h\.bgc\..*?.?[_\d+]+.nc$</hist_file_extension>
+         h.bgc.[.optional stream name][._optional instance number].(date string).nc[.optional tile number] -->
+    <hist_file_extension>h\.bgc(\.\w+)?(\._\d*)?\.[-\d+]+\.nc(\.\d*)?$</hist_file_extension>
     <!-- match filenames of the form
          ic.(date string)[._optional instance number].nc[.optional tile number] -->
     <hist_file_extension>ic.[-\d+]+(\._\d*)?\.nc(\.\d*)?$</hist_file_extension>

(I just copied the comment and regular expression for the h.[optional_string] streams and added \.bgc between h and the optional instance number). PR coming soon, it seemed easier to create a new PR than add to #241

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions