Run SCM cases

Run SCM cases carson Fri, 12/20/2019 - 15:25

Run the SCM

Now that we have an idea what the physics suites contain and how to set up cases, let’s use the run script called multi_run_gmtb_scm.py which will run several instances of the SCM serially.

See supplemental slide 13 for a description of the run scripts’ interfaces.

If invoked by itself, this script will run through all permutations of supported suites and cases. If you provide only a case, it will run all supported suites for that case. If you provide only a suite, it will run all supported cases for that suite. Alternatively, you can provide the script with a file that defines which cases, suites, and associated namelists to use. We will use this final option.

Navigate to the run directory, and look at the multi_run setup file:

cd ../../bin
less ../src/short_course_runs.py

Exit the less command with q.

See supplemental slide 14 for the contents of short_course_runs.py.

This file just defines a few Python lists. We’ll be running the TWP-ICE maritime deep convection case and the LASSO continental shallow convection case from May 18, 2016 with the suites discussed previously. The namelists variable is optional if the suites have dictionary entries in ../src/default_namelists.py. This would also be the place to specify non-default namelists to change parameters or physics options.

Before running the SCM, copy the lookup tables used by the Thompson microphysics so they are available at runtime.

stage_thompson_tables.sh

Run:

./multi_run_gmtb_scm.py -f ../src/short_course_runs.py

Running should take a couple minutes with progress displayed on the console.

You should see something like the output on supplemental slide 15.