run_srw_tests module

class SRWTest(exptdir)

Bases: object

Python class to handle the launching of a set of SRW tests. The expectation is to have a “clean” experiment directory with only new experiments that are ready to run (e.g., no _old* experiments left around from previous tests). This script takes only one parameter (-e or --exptdir) which points to the expt_basedir specified when the run_WE2E_tests.py script is run to set up the tests. The script will work sequentially through each of the test directories and launch the workflow for each with a call to launch_FV3LAM_wflow.sh. After the initial launch, the checkTests method is called to monitor the status of each test and to call the launch_FV3LAM_wflow.sh script repeatedly in each uncompleted workflow until all workflows are done.

checkTests()

Check status of workflows/experiments; remove any that have failed or completed, and continue running the launch command for those that aren’t complete.

Returns:

None