ESMCI / ESMCI/cime

Logic in case_st_archive doesn't allow multi-instance cases with mpas components

Open
#1,931 10 comments 0 reactions 1 assignee Claimed by @jasonb5 View on GitHub
Assigned Low Priority tp: CIMElib ty: Bug
Dominant language
Python
Stars
174
Forks
225
Avg merge
1d 16h
Merged PRs (30d)
14

Description

The logic in case_st_archive.py: `_archive_history_files` does not handle the possibility that we could have an mpas component (which has a different pattern for history file names) in a multi-instance run. @kdraeder changed this logic in #1916 but the fundamental problem still remains. In that PR, this is noted explicitly:

```python
if ninst_string:
if compname.find('mpas') == 0:
# Not correct, but MPAS' multi-instance name format is unknown.
newsuffix = compname + '.*' + suffix
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.