Ignore:
Timestamp:
Nov 6, 2011, 9:28:12 PM (13 years ago)
Author:
aslmd
Message:

PYTHON: improvements on handling 1D 2D slices for gcm and meso. a few minor corrections added for the scripts to work better. it might be possible at some point to merge meso.py and gcm.py, wait and see.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/PYTHON/gcm.py

    r349 r350  
    2626    parser.add_option('-s', '--stride', action='store',dest='stride',    type="int",     default=3,     help='stride vectors (def=3)')
    2727    parser.add_option('-v', '--var',    action='append',dest='var',      type="string",  default=None,  help='variable color-shaded (append)')
    28     parser.add_option('-n', '--num',    action='store',dest='numplot',   type="int",     default=2,     help='plot number (def=2)(<0: plot LT -*numplot*)')
     28    parser.add_option('-n', '--num',    action='store',dest='numplot',   type="int",     default=None,  help='plot number (def=2)(<0: plot LT -*numplot*)')
    2929    parser.add_option('-i', '--interp', action='store',dest='interp',    type="int",     default=None,  help='interpolation (2: p, 3: z-amr, 4:z-als)')
    3030    parser.add_option('-c', '--color',  action='store',dest='colorb',    type="string",  default="def", help='change colormap (nobar: no colorbar)')
     
    138138        #############
    139139        ### Main call
    140         name = planetoplot (zenamefiles,int(zelevel),\
     140        name = planetoplot (zenamefiles,nvert=int(zelevel),vertmode=opt.interp,\
    141141                proj=opt.proj,back=opt.back,target=opt.target,stride=opt.stride,var=zevar,\
    142142                numplot=opt.numplot,colorb=opt.colorb,winds=opt.winds,\
Note: See TracChangeset for help on using the changeset viewer.