From aee2a9874439bf85b5d932648ef14a566ea5cbc9 Mon Sep 17 00:00:00 2001 From: leufen1 <l.leufen@fz-juelich.de> Date: Tue, 1 Dec 2020 13:35:09 +0100 Subject: [PATCH] just disable parts of postprocessing for testing the competitors --- mlair/run_modules/post_processing.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mlair/run_modules/post_processing.py b/mlair/run_modules/post_processing.py index 40a05cbb..b63fca0d 100644 --- a/mlair/run_modules/post_processing.py +++ b/mlair/run_modules/post_processing.py @@ -91,16 +91,16 @@ class PostProcessing(RunEnvironment): def _run(self): # ols model - self.train_ols_model() + # self.train_ols_model() # forecasts - self.make_prediction() + # self.make_prediction() # competitors - self.load_competitors() + # self.load_competitors() # skill scores on test data - self.calculate_test_score() + # self.calculate_test_score() # bootstraps if self.data_store.get("evaluate_bootstraps", "postprocessing"): @@ -109,8 +109,8 @@ class PostProcessing(RunEnvironment): self.bootstrap_postprocessing(create_new_bootstraps) # skill scores - with TimeTracking(name="calculate skill scores"): - self.skill_scores = self.calculate_skill_scores() + # with TimeTracking(name="calculate skill scores"): + # self.skill_scores = self.calculate_skill_scores() # plotting self.plot() @@ -293,7 +293,7 @@ class PostProcessing(RunEnvironment): logging.warning( f"Skip 'PlotStationMap` because running on a hpc node: {self.data_store.get('hostname')}") else: - PlotStationMap(generators={'b': self.test_data}, plot_folder=self.plot_path) + PlotStationMap(generators={'r': self.train_val_data, 'b': self.test_data}, plot_folder=self.plot_path) if "PlotMonthlySummary" in plot_list: PlotMonthlySummary(self.test_data.keys(), path, r"forecasts_%s_test.nc", self.target_var, plot_folder=self.plot_path) -- GitLab