From 82b65e53945bd85c69dc593c2bed8078f5920ad8 Mon Sep 17 00:00:00 2001 From: Florian Obersteiner <florian.obersteiner@kit.edu> Date: Thu, 7 Apr 2022 09:40:31 +0200 Subject: [PATCH] todo updated --- src/icartt/dataset.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/icartt/dataset.py b/src/icartt/dataset.py index 6d3c7ce..862adda 100644 --- a/src/icartt/dataset.py +++ b/src/icartt/dataset.py @@ -981,7 +981,7 @@ class Dataset: """ self.format = format - self.version = None + self.version = None # TODO: should this be 2.0 by default? self.dataID = "dataID" self.locationID = "locationID" @@ -1028,6 +1028,7 @@ class Dataset: if not self.isValidFileName(pathlib.Path(f).name): warnings.warn(f"{pathlib.Path(f).name} is not a valid ICARTT filename") + # TODO: else -> split on "_", then the first part should be dataID, second part locationID self.readHeader(delimiter) if loadData: -- GitLab