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

Add support for scheme w/o run phase #548

Closed dustinswales closed 8 months ago

dustinswales commented 8 months ago

Here we include a small fix to allow for schemes without run phases.

Capgen assumes that all schemes have a run phase, which is not true in practice. During the "scheme analyze" section, if a scheme doesn't contain a run phase we set a flag to true (no_run_phase). Then this flag is queried later in the "scheme write" section.

There are no interface changes.

Addresses #543

Testing has been expanded to contain a scheme w/o a run phase.

climbfuji commented 8 months ago

@dustinswales Let's wait until my pr to merge feature/capgen into main is merged. We should then target main instead of feature/capgen.

climbfuji commented 8 months ago

This was not tested with the UFS. We unfortunately can't merge code into the main branch without going through the proper regression testing procedure.