Run a Cascade-AT Model¶
Run a Cascade-AT model from start to finish using the run cascade function. All of the tasks that it constructs can be found in each of the scripts linked to in Defining and Sequencing the Work.
-
cascade_at.executor.run.
run
(model_version_id, jobmon=True, make=True, n_sim=10, n_pool=10, addl_workflow_args=None, skip_configure=False, json_file=None, test_dir=None, execute_dag=True)[source]¶ Runs the whole cascade or drill for a model version (whichever one is specified in the model version settings).
Creates a cascade command and a bunch of cascade operations based on the model version settings. More information on this structure is in Defining and Sequencing the Work.
- Parameters
model_version_id (
int
) – The model version to runjobmon (
bool
) – Whether or not to use Jobmon. If not using Jobmon, executes the commands in sequence in this session.make (
bool
) – Whether or not to make the directory structure for the databases, inputs, and outputs.n_sim (
int
) – Number of simulations to do going down the cascadeaddl_workflow_args (
Optional
[str
]) – Additional workflow args to add to the jobmon workflow name so that it is unique if you’re testingskip_configure (
bool
) – Skip configuring the inputs because
- Return type
None