mpas_analysis.shared.analysis_task.AnalysisTask.run_after

AnalysisTask.run_after(task)[source]

Only run this task after the given task has completed. This allows a task to be constructed of multiple subtasks, some of which may block later tasks, while allowing some subtasks to run in parallel. It also allows for tasks to depend on other tasks (e.g. for computing climatologies or extracting time series for many variables at once).

Parameters

task (AnalysisTask) – The task that should finish before this one begins