Changeset 458 for trunk/UTIL/PYTHON/myscript.py
- Timestamp:
- Dec 8, 2011, 1:12:21 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/myscript.py
r457 r458 9 9 10 10 ### WHAT I PLOT 11 parser.add_option('-v', '--var', action='append',dest='var', type="string", default=None, help='variable color-shaded (append)')11 parser.add_option('-v', '--var', action='append',dest='var', type="string", default=None, help='variable color-shaded') 12 12 parser.add_option('-w', '--with', action='store',dest='var2', type="string", default=None, help='variable contoured') 13 13 parser.add_option('-a', '--anomaly',action='store_true',dest='anomaly', default=False, help='compute and plot relative anomaly in %') 14 14 parser.add_option('--mult', action='store',dest='mult', type="float", default=1., help='a multiplicative factor to plotted field') 15 parser.add_option('-m', '--min', action='append',dest='vmin', type="float", default=None, help='bounding minimum value (append)')16 parser.add_option('-M', '--max', action='append',dest='vmax', type="float", default=None, help='bounding maximum value (append)')15 parser.add_option('-m', '--min', action='append',dest='vmin', type="float", default=None, help='bounding minimum value [min]') 16 parser.add_option('-M', '--max', action='append',dest='vmax', type="float", default=None, help='bounding maximum value [max]') 17 17 parser.add_option('-H', '--hole', action='store_true',dest='hole', default=False, help='holes above max and below min') 18 18 parser.add_option('--nolow', action='store_true',dest='nolow', default=False, help='plot only minima and maxima [false]') … … 29 29 parser.add_option('--title', action='store',dest='zetitle', type="string", default="fill",help='customize the whole title') 30 30 parser.add_option('-T', '--tiled', action='store_true',dest='tile', default=False, help='draw a tiled plot (no blank zone)') 31 parser.add_option('--res', action='store',dest='res', type="float", default=200., help=' Resolution for png outputs. --save png needed. [200.]')32 parser.add_option('--trans', action='store',dest='trans', type="float", default=1., help='shaded plot s transparency, from 0 (transparent) to 1 (opaque) [1]')33 parser.add_option('--area', action='store',dest='area', type="string", default=None, help=' Area on the map to be plot [None]')31 parser.add_option('--res', action='store',dest='res', type="float", default=200., help='resolution for png outputs. --save png needed. [200.]') 32 parser.add_option('--trans', action='store',dest='trans', type="float", default=1., help='shaded plot transparency, 0 to 1 (=opaque) [1]') 33 parser.add_option('--area', action='store',dest='area', type="string", default=None, help='area on the map to be plot [None]') 34 34 35 35 ### SPECIFIC FOR MAPPING [MAPMODE 1] 36 36 parser.add_option('-p', '--proj', action='store',dest='proj', type="string", default=None, help='projection') 37 37 parser.add_option('-b', '--back', action='store',dest='back', type="string", default=None, help='background image [None]') 38 parser.add_option('-W', '--winds', action='store_true',dest='winds', default=False, help='wind vectors [False]') 38 39 parser.add_option('-s', '--stride', action='store',dest='ste', type="int", default=3, help='stride vectors [3]') 39 parser.add_option('-W', '--winds', action='store_true',dest='winds', default=False, help='wind vectors [False]')40 40 parser.add_option('-z', '--zoom', action='store',dest='zoom', type="float", default=None, help='zoom factor in %') 41 41 parser.add_option('--blat', action='store',dest='blat', type="int", default=None, help='reference lat (or bounding lat for stere) [computed]') … … 64 64 ### SPECIAL 65 65 parser.add_option('--tsat', action='store_true',dest='tsat', default=False,help='convert temperature field T in Tsat-T using pressure') 66 parser.add_option('--rate', action='store' ,dest='rate', type="int", default=None, help=' Output is a movie along Time dimension. --time must not be specified.[None]')66 parser.add_option('--rate', action='store' ,dest='rate', type="int", default=None, help='output is a movie along Time dimension [None]') 67 67 parser.add_option('--quality', action='store_true',dest='quality', default=False,help='For movie mode: improves movie quality.(slower)') 68 68
Note: See TracChangeset
for help on using the changeset viewer.