Changeset 478 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jun 12, 2015, 11:27:59 AM (10 years ago)
Author:
lfita
Message:

Adding `checking_arguments' on 'plot_shad_contour'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing.py

    r477 r478  
    414414        print draw_2D_shad_cont.__doc__
    415415        quit()
     416
     417    expectargs = '[vnamefs]:[dimvals]:[dimvalc]:[dimxvn]:[dimyvn]:[colorbar]:'
     418    expectargs = expectargs + '[ckind]:[clabfmt]:[sminv],[smaxv]:[sminc],[smaxv],'
     419    expectargs = expectargs + '[Nlev]:[figt]:[kindfig]:[reverse]:[mapv]'
     420 
     421    drw.check_arguments(fname,len(expectargs.split(':')),values,':',expectargs)
    416422
    417423    vnamesfig = values.split(':')[0].split(',')
Note: See TracChangeset for help on using the changeset viewer.