source: CMIP6dreq/trunk/dreqPy/examples/ex202.py @ 634

Subversion URL: http://proj.badc.rl.ac.uk/svn/exarch/CMIP6dreq/trunk/dreqPy/examples/ex202.py@634
Revision 634, 437 bytes checked in by mjuckes, 4 years ago (diff)

release cand

Line 
1import sys, os
2
3if len(sys.argv) > 1:
4  if os.path.isdir( sys.argv[1] ):
5    if os.path.isfile( '%s/scope.py' % sys.argv[1] ):
6      sys.path.insert(0, sys.argv[1] )
7      import scope
8    else:
9      print 'No scope.py in specified directory'
10      sys.exit(0)
11  else:
12    print 'Specified directoty does not exist'
13    sys.exit(0)
14else:
15  from dreqPy import scope
16
17
18sc = scope.dreqQuery()
19p=1
20sc.xlsByMipExpt('DCPP',None,p,odir='xls')
Note: See TracBrowser for help on using the repository browser.