mpas_analysis.shared.analysis_task.AnalysisTask.add_subtask

AnalysisTask.add_subtask(subtask)[source]

Add a subtask to this tasks. This task always runs after the subtask has finished. However, this task gets set up before the subtask, so the setup of the subtask can depend on fields defined during the setup of this task (the parent).

Parameters

subtask (AnalysisTask) – The subtask to run as part of this task