From cb14008f8580604ab0bbd218a738423a2d85ada7 Mon Sep 17 00:00:00 2001
From: lukas leufen <l.leufen@fz-juelich.de>
Date: Wed, 29 Jan 2020 11:49:01 +0100
Subject: [PATCH] bugfix: added start and end to the default kwargs keys,
 before the time range in all subsets (train, ...) have been equal!

---
 src/run_modules/pre_processing.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/run_modules/pre_processing.py b/src/run_modules/pre_processing.py
index a32f7075..af66c772 100644
--- a/src/run_modules/pre_processing.py
+++ b/src/run_modules/pre_processing.py
@@ -13,7 +13,7 @@ from src.join import EmptyQueryResult
 
 DEFAULT_ARGS_LIST = ["data_path", "network", "stations", "variables", "interpolate_dim", "target_dim", "target_var"]
 DEFAULT_KWARGS_LIST = ["limit_nan_fill", "window_history_size", "window_lead_time", "statistics_per_var",
-                       "station_type", "overwrite_local_data"]
+                       "station_type", "overwrite_local_data", "start", "end"]
 
 
 class PreProcessing(RunEnvironment):
@@ -39,6 +39,7 @@ class PreProcessing(RunEnvironment):
         valid_stations = self.check_valid_stations(args, kwargs, self.data_store.get("stations", "general"))
         self.data_store.put("stations", valid_stations, "general")
         self.split_train_val_test()
+        self.report_pre_processing()
 
     def report_pre_processing(self):
         logging.info(20 * '##')
-- 
GitLab