Skip to content
Snippets Groups Projects
Commit cb14008f authored by lukas leufen's avatar lukas leufen
Browse files

bugfix: added start and end to the default kwargs keys, before the time range...

bugfix: added start and end to the default kwargs keys, before the time range in all subsets (train, ...) have been equal!
parent e76cd80e
No related branches found
No related tags found
2 merge requests!37include new development,!27Lukas issue032 feat plotting postprocessing
Pipeline #28713 passed
...@@ -13,7 +13,7 @@ from src.join import EmptyQueryResult ...@@ -13,7 +13,7 @@ from src.join import EmptyQueryResult
DEFAULT_ARGS_LIST = ["data_path", "network", "stations", "variables", "interpolate_dim", "target_dim", "target_var"] 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", 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): class PreProcessing(RunEnvironment):
...@@ -39,6 +39,7 @@ class PreProcessing(RunEnvironment): ...@@ -39,6 +39,7 @@ class PreProcessing(RunEnvironment):
valid_stations = self.check_valid_stations(args, kwargs, self.data_store.get("stations", "general")) valid_stations = self.check_valid_stations(args, kwargs, self.data_store.get("stations", "general"))
self.data_store.put("stations", valid_stations, "general") self.data_store.put("stations", valid_stations, "general")
self.split_train_val_test() self.split_train_val_test()
self.report_pre_processing()
def report_pre_processing(self): def report_pre_processing(self):
logging.info(20 * '##') logging.info(20 * '##')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment