Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
db05f3ec
Commit
db05f3ec
authored
Aug 15, 2019
by
Ralf Mueller
🎣
Browse files
support filename from the cmd-line (test.py)
parent
2a1079cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
interfaces/python/test.py
View file @
db05f3ec
...
...
@@ -3,7 +3,10 @@ sys.path.insert(0,os.getcwd())
import
Cdi
print
(
"# BEGIN PYTHON TEST ==================================#"
)
ifile
=
"../mulval.nc"
if
(
1
==
len
(
sys
.
argv
)
):
ifile
=
"../mulval.nc"
else
:
ifile
=
sys
.
argv
[
1
]
cdi
=
Cdi
.
Cdi
(
ifile
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment