FAQ: How do I swap a scheme for another in the SCM?

Submitted by grantf on Thu, 09/03/2020 - 09:00

HOW DO I SWAP A SCHEME FOR ANOTHER IN THE SCM?

Since the SCM uses the CCPP to call physics, in the best case, swapping a scheme is as simple as finding the place in the suite definition file where the outgoing scheme is called and replacing it with the incoming scheme. If the input/output arguments of the incoming scheme are considerably different than the outgoing scheme, it may be necessary to add an interstitial scheme to compensate (for providing inputs to a later scheme in the SDF, variable conversion, etc.). Section 6.3 in the SCM User and Technical Guide has more thoughts on the matter.

Another consideration is namelist parameters. There is some redundancy between namelist variables and what is specified in the SDF. For example, there might be a variable for do_scheme_X that you need to set to False if removing scheme_X or otherwise set parameter values differently. Although this redundancy is planned to be removed in a future release, it is important to check the namelist that will be used with the modified suite.