NCAR / ccpp-framework

Common Community Physics Package (CCPP)
http://www.dtcenter.org/community-code/common-community-physics-package-ccpp/
Other
26 stars 64 forks source link

Remove requirement that suite files begin with "suite_" #568

Open mkavulich opened 6 months ago

mkavulich commented 6 months ago

Description

As part of a new set of suite naming guidelines (see https://github.com/NCAR/ccpp-doc/pull/72), we are removing the requirement that suite definition file names begin with the literal string suite_. SDF filenames will still need to match the suite name, but without the suite_ prefix. Currently this requirement is hard-coded into CCPP prebuild (but not in capgen).

Solution

The logic that checks for suite definition files in prebuild needs to be updated to remove the suite_ prefix requirement. This check occurs in a few different places so this will be a bit more than a one-line change, especially due to extra logic to maintain back-compatibility with the old naming style.