From d3ce14c1b372869b0cec8fcc5b93c812f4e23e35 Mon Sep 17 00:00:00 2001 From: Falco Weichselbaum <f.weichselbaum@fz-juelich.de> Date: Mon, 23 Aug 2021 14:09:33 +0200 Subject: [PATCH] removed unnecessary line in remove_nan() --- mlair/data_handler/data_handler_single_station.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mlair/data_handler/data_handler_single_station.py b/mlair/data_handler/data_handler_single_station.py index e184260a..6190784f 100644 --- a/mlair/data_handler/data_handler_single_station.py +++ b/mlair/data_handler/data_handler_single_station.py @@ -595,7 +595,6 @@ class DataHandlerSingleStation(AbstractDataHandler): intersect = reduce(np.intersect1d, (non_nan_history.coords[dim].values, non_nan_label.coords[dim].values, non_nan_observation.coords[dim].values)) - if len(intersect) < max(self.min_length, 1): self.history = None self.label = None -- GitLab