Commit db05f3ec authored by Ralf Mueller's avatar Ralf Mueller 🎣
Browse files

support filename from the cmd-line (test.py)

parent 2a1079cb
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment