Commit 482d0ea0 authored by lukas leufen's avatar lukas leufen

PlotSeparationOfScales is now part of the default plot list but is only...

PlotSeparationOfScales is now part of the default plot list but is only executed, if a data handler has dimension filter
parent b99aa180
Pipeline #52183 failed with stages
in 8 minutes and 15 seconds
......@@ -48,7 +48,7 @@ DEFAULT_CREATE_NEW_BOOTSTRAPS = False
DEFAULT_PLOT_LIST = ["PlotMonthlySummary", "PlotStationMap", "PlotClimatologicalSkillScore", "PlotTimeSeries",
"PlotCompetitiveSkillScore", "PlotBootstrapSkillScore", "PlotConditionalQuantiles",
"PlotAvailability", "PlotSeparationOfScales"]
......@@ -263,9 +263,10 @@ class PostProcessing(RunEnvironment):
plot_list = self.data_store.get("plot_list", "postprocessing")
time_dimension = self.data_store.get("time_dim")
PlotSeparationOfScales(self.test_data, plot_folder=self.plot_path)
if ("filter" in self.test_data[0].get_X(as_numpy=False)[0].coords) and ("PlotSeparationOfScales" in plot_list):
PlotSeparationOfScales(self.test_data, plot_folder=self.plot_path)
if self.bootstrap_skill_scores is not None and "PlotBootstrapSkillScore" in plot_list:
if (self.bootstrap_skill_scores is not None) and ("PlotBootstrapSkillScore" in plot_list):
PlotBootstrapSkillScore(self.bootstrap_skill_scores, plot_folder=self.plot_path, model_setup="CNN")
if "PlotConditionalQuantiles" in plot_list:
......@@ -22,7 +22,6 @@ def main(parser_args):
stations=["DEBW107", "DEBW013"],
workflow = DefaultWorkflow(**args)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment