Skip to content
Snippets Groups Projects
Commit 82b65e53 authored by Florian Obersteiner's avatar Florian Obersteiner
Browse files

todo updated

parent 754b8e0a
Branches
No related tags found
No related merge requests found
...@@ -981,7 +981,7 @@ class Dataset: ...@@ -981,7 +981,7 @@ class Dataset:
""" """
self.format = format self.format = format
self.version = None self.version = None # TODO: should this be 2.0 by default?
self.dataID = "dataID" self.dataID = "dataID"
self.locationID = "locationID" self.locationID = "locationID"
...@@ -1028,6 +1028,7 @@ class Dataset: ...@@ -1028,6 +1028,7 @@ class Dataset:
if not self.isValidFileName(pathlib.Path(f).name): if not self.isValidFileName(pathlib.Path(f).name):
warnings.warn(f"{pathlib.Path(f).name} is not a valid ICARTT filename") 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) self.readHeader(delimiter)
if loadData: if loadData:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment