Skip to content
Snippets Groups Projects
Commit db05f3ec authored by Ralf Mueller's avatar Ralf Mueller :fishing_pole_and_fish:
Browse files

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

parent 2a1079cb
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment