Skip to content
Snippets Groups Projects
Commit aee2a987 authored by leufen1's avatar leufen1
Browse files

just disable parts of postprocessing for testing the competitors

parent 3d46db4d
No related branches found
No related tags found
3 merge requests!253include current develop,!252Resolve "release v1.3.0",!196Resolve "Competitor Models"
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment