diff --git a/CIME/XML/archive_base.py b/CIME/XML/archive_base.py index 1b4ef9e7bd9..ff8c096ce9f 100644 --- a/CIME/XML/archive_base.py +++ b/CIME/XML/archive_base.py @@ -139,7 +139,7 @@ def get_all_hist_files(self, casename, model, from_dir, suffix="", ref_case=None for ext in extensions: if ext.endswith("$") and has_suffix: ext = ext[:-1] - string = model + r"\d?_?(\d{4})?\." + ext + string = model + r"\d?_?(\d{4})?(_d\d{2})?\." + ext if has_suffix: if not suffix in string: string += r"\." + suffix + "$"