mpas_analysis.shared.AnalysisTask.check_generate

AnalysisTask.check_generate()[source]

Determines if this analysis should be generated, based on the generate config option and taskName, componentName and tags.

Individual tasks do not need to create their own versions of this function.

Returns:

generate (bool) – Whether or not this task should be run.

:raises ValueError : If one of self.taskName, self.componentName: or self.tags has not been set.