mpas_analysis.__main__.determine_analyses_to_generate¶
- mpas_analysis.__main__.determine_analyses_to_generate(analyses, verbose)[source]¶
Build a list of analysis tasks to run based on the ‘generate’ config option (or command-line flag) and prerequisites and subtasks of each requested task. Each task’s
setup_and_check
method is called in the process.- Parameters:
analyses (list of
AnalysisTask
objects) – A list of all analysis tasksverbose (bool) – Whether to write out a full stack trace when exceptions occur during
setup_and_check()
calls for each task
- Returns:
analysesToGenerate (
OrderedDict
ofAnalysisTask
objects) – A dictionary of analysis tasks to run