From c16db9879d4576c87eb2245981da207888bc8977 Mon Sep 17 00:00:00 2001 From: Florian Obersteiner Date: Sat, 19 Feb 2022 18:26:41 +0100 Subject: [PATCH] what to do with __version__ --- src/icartt/__init__.py | 6 +++++- tests/usage_examples/read_ffi1001.py | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/icartt/__init__.py b/src/icartt/__init__.py index a96c250..9edd259 100644 --- a/src/icartt/__init__.py +++ b/src/icartt/__init__.py @@ -1 +1,5 @@ -from .dataset import Dataset, StandardNormalComments, Variable, Formats, VariableType \ No newline at end of file +from .dataset import Dataset, StandardNormalComments, Variable, Formats, VariableType + +# TODO: add __version__ ? + +# TODO: add __all__ = ("names of exported classes etc.",) ? \ No newline at end of file diff --git a/tests/usage_examples/read_ffi1001.py b/tests/usage_examples/read_ffi1001.py index f08e08e..eeab1ba 100644 --- a/tests/usage_examples/read_ffi1001.py +++ b/tests/usage_examples/read_ffi1001.py @@ -10,6 +10,8 @@ ict.PIName ict.PIAffiliation ict.missionName ict.dataSourceDescription +ict.dataID +ict.locationID # list variable names [ x for x in ict.variables ] @@ -25,4 +27,4 @@ ict.data['UTC'] ict.data[:] # get the altitude in feet for those data where UTC < 86400.0: -ict.data[ ict.data['UTC'] < 86400.0 ]['Alt_ft'] +ict.data[ ict.data['UTC'] < 86400.0 ]['Alt_ft'] \ No newline at end of file -- GitLab