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

data wasn't properly loaded due to a wrong data_path (still containing the...

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)
parent 51346c82
No related branches found
No related tags found
3 merge requests!226Develop,!225Resolve "release v1.2.0",!204Resolve "BUG: NaN error during PostProcessing"
Pipeline #54460 failed
......@@ -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:
......
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