mpas_analysis.shared.AnalysisTask.check_generate
- AnalysisTask.check_generate()[source]
Determines if this analysis should be generated, based on the
generate
config option andtaskName
,componentName
andtags
.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
: orself.tags
has not been set.