Skip to content

Test suite does not compare any h.bgc streams #357

Open

Description

@mnlevy1981

#323 pointed out that mom6.h.bgc.native was ignored in baseline comparisons, and only mom6.h.bgc.z was tested. A bug in config_archive.xml combines with #356 to result in mom6.h.bgc.z being omitted in testing as well. A fix (that will compare a single block of mom6.h.bgc.z given #356) is

     <!-- match filenames of the form
-         h.bgc.*[._optional instance number].nc -->
-    <hist_file_extension>h\.bgc\..*(\._\d+)?\.nc$</hist_file_extension>
+         h.bgc.*[._optional instance number].nc[.optional tile number] -->
+    <hist_file_extension>h\.bgc\..*(\._\d+)?\.nc(\.\d*)?(\.gz)?$</hist_file_extension>

I'm going to add this fix to #355 -- it's not strictly related to the MARBL diagnostics for CMIP, but is necessary for getting at least some test coverage so it seems fitting.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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