Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ICARTT Python Package
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MBEES
ICARTT Python Package
Commits
c16db987
Commit
c16db987
authored
3 years ago
by
Florian Obersteiner
🎱
Browse files
Options
Downloads
Patches
Plain Diff
what to do with __version__
parent
3c4362e2
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!6
code refactor
This commit is part of merge request
!6
. Comments created here will be created in the context of that merge request.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/icartt/__init__.py
+5
-1
5 additions, 1 deletion
src/icartt/__init__.py
tests/usage_examples/read_ffi1001.py
+3
-1
3 additions, 1 deletion
tests/usage_examples/read_ffi1001.py
with
8 additions
and
2 deletions
src/icartt/__init__.py
+
5
−
1
View file @
c16db987
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
This diff is collapsed.
Click to expand it.
tests/usage_examples/read_ffi1001.py
+
3
−
1
View file @
c16db987
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment