From 0326d8bfe2c2aa4ec4b90195d4e94d565604a8bd Mon Sep 17 00:00:00 2001
From: leufen1 <l.leufen@fz-juelich.de>
Date: Mon, 7 Dec 2020 10:58:58 +0100
Subject: [PATCH] data wasn't properly loaded due to a wrong data_path (still
 containing the sampling rate, but this is not working with release v1.1.0
 anymore)

---
 mlair/configuration/path_config.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mlair/configuration/path_config.py b/mlair/configuration/path_config.py
index bf40c361..67c6bce4 100644
--- a/mlair/configuration/path_config.py
+++ b/mlair/configuration/path_config.py
@@ -29,11 +29,11 @@ def prepare_host(create_new=True, data_path=None, sampling="daily") -> str:
         user = getpass.getuser()
         runner_regex = re.compile(r"runner-.*-project-2411-concurrent-\d+")
         if hostname == "ZAM144":
-            data_path = f"/home/{user}/Data/toar_{sampling}/"
+            data_path = f"/home/{user}/Data/toar/"
         elif hostname == "zam347":
-            data_path = f"/home/{user}/Data/toar_{sampling}/"
+            data_path = f"/home/{user}/Data/toar/"
         elif (len(hostname) > 2) and (hostname[:2] == "jr"):
-            data_path = f"/p/project/cjjsc42/{user}/DATA/toar_{sampling}/"
+            data_path = f"/p/project/cjjsc42/{user}/DATA/toar/"
         elif (len(hostname) > 2) and (hostname[:2] in ['jw', 'ju'] or hostname[:5] in ['hdfml']):
             data_path = f"/p/project/deepacf/intelliaq/{user}/DATA/MLAIR/"
         elif runner_regex.match(hostname) is not None:
-- 
GitLab