Changeset 1420 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jan 20, 2017, 11:52:36 AM (8 years ago)
Author:
lfita
Message:

Adding `mthDYNAMICO': monthly mean DYNAMICO as possible Model

Location:
trunk/tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r1418 r1420  
    69286928          veccolor[::yfreq,::xfreq], cmap=plt.get_cmap(vcolor), pivot='middle',      \
    69296929          clim = vsend)
     6930          # FROM: http://stackoverflow.com/questions/25270661/how-to-set-a-color-bar-range-in-matplotlib
    69306931        cbar = plt.colorbar()
    69316932
  • trunk/tools/model_graphics.py

    r1394 r1420  
    349349        expers = config['DYNAMICOexps'].split(':')
    350350        fhs = config['DYNAMICOheaders'].split(':')
     351    elif mod == 'mthDYNAMICO':
     352        expers = config['mthDYNAMICOexps'].split(':')
     353        fhs = config['mthDYNAMICOheaders'].split(':')
    351354    else:
    352355        print errmsg
     
    906909            # At this stage, let's be simple. It might be necessary to complicate it! Since
    907910            #   DYNAMICO might have 'time_counter' or 'time_instant'
    908             elif minf.name == 'DYNAMICO':
     911            elif minf.name == 'DYNAMICO' or minf.name == 'mthDYNAMICO':
    909912                try:
    910913                    with gen.Capturing() as output:
  • trunk/tools/model_graphics_template.dat

    r1395 r1420  
    8484#   LMDZ: LMDZ model
    8585#   WRF_LMDZ: LMDZ physics coupled to WRF
     86#   DYNAMICO: DYNAMICO
     87#   mthDYNAMICO: monthly mean DYNAMICO
    8688models=WRF:WRF_LMDZ:LMDZ
    8789
Note: See TracChangeset for help on using the changeset viewer.