run_srw_tests module
- class SRWTest(exptdir)
Bases:
objectPython 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 (-eor--exptdir) which points to theexpt_basedirspecified when therun_WE2E_tests.pyscript 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 tolaunch_FV3LAM_wflow.sh. After the initial launch, thecheckTestsmethod is called to monitor the status of each test and to call thelaunch_FV3LAM_wflow.shscript 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