Changeset 2691 in lmdz_wrf for trunk/tools/__test.py__
- Timestamp:
- Aug 12, 2019, 5:08:34 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/__test.py__
r2405 r2691 12 12 ####### ####### ##### ##### #### ### ## # 13 13 14 from optparse import OptionParser 14 15 import numpy as np 15 16 from netCDF4 import Dataset as NetCDFFile 16 17 import os 17 18 import re 19 import subprocess as sub 18 20 import numpy.ma as ma 21 import matplotlib as mpl 22 mpl.use('Agg') 23 from matplotlib.pylab import * 24 import matplotlib.pyplot as plt 25 from mpl_toolkits.basemap import Basemap 26 19 27 # Importing generic tools file 'generic_tools.py' 20 28 import generic_tools as gen 21 import subprocess as sub22 29 import nc_var_tools as ncvar 23 30 import module_ForDef as fdef … … 25 32 import module_ForGen as fgen 26 33 import module_ForSci as fsci 34 35 parser = OptionParser() 36 parser.add_option("-x", "--Xx", dest="x", help="x", metavar="X") 37 (opts, args) = parser.parse_args() 27 38 28 39
Note: See TracChangeset
for help on using the changeset viewer.