Skip to content

Commit

Permalink
Fixes ww3 archiving
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonb5 committed Sep 29, 2023
1 parent b10d452 commit 4604aba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CIME/case/case_st_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,9 @@ def test_env_archive(self, testdir="env_archive_test"):

for comp_archive_spec in comp_archive_specs:
comp_expected = archive.get(comp_archive_spec, "compname")
if comp_expected == "ww3":
# Rename ww3 component when case and archive names don't match,
# specific to CESM.
if comp_expected == "ww3" and "ww" in comps_in_case:
comp_expected = "ww"
comp_class = archive.get(comp_archive_spec, "compclass").upper()
if comp_class in components:
Expand Down

0 comments on commit 4604aba

Please sign in to comment.