ESCOMP / ESCOMP/CTSM

Refactor and remove the use_case files

Open
#3,623 2 comments 0 reactions 0 assignees View on GitHub
b4b code health usability
Dominant language
Fortran
Stars
352
Forks
361
Avg merge
6d 6h
Merged PRs (30d)
8

Description

Besides the complexity that use_case options provide as recognized in #1763, we frequently get confused as to what should go in the use_case files -- and what goes elsewhere (for example #3621). Also as seen in #3621 there are times when you can't add the needed attributes to a use_case -- because of order dependence problems (see this comment: https://github.com/ESCOMP/CTSM/issues/3621#issuecomment-3568926968).

A good way to get away from this would be to have build-namelist remove the files in the directory -- and make sure their content is put in namelist_defaults_ctsm.xml. But, add a new namelist attribute that can be used in the namelist_defaults_ctsm.xml for use_case that comes from the CLM_NML_USE_CASE XML item. So it does what #1763 asks for in moving things to XML variables, just for an XML variable that already exists.

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.