Changeset 1341 in lmdz_wrf


Ignore:
Timestamp:
Nov 16, 2016, 9:08:46 PM (9 years ago)
Author:
lfita
Message:

Fixing different issues `allmodexpfigs'!
New quit on non-existence of file-figure in dictionary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/model_graphics.py

    r1339 r1341  
    36833683                    print '  ' + fname + ": no file for variable-operation '" +     \
    36843684                      vnopS + "' !!"
     3685                    print '  available ones:', allvarcomp.keys()
     3686                    quit(-1)
    36853687                vopvals = allvarcomp[vnopS]
    36863688                mod1 = vopvals[0]
     
    43044306                    print '  ' + fname + ": no file for variable-operation '" +      \
    43054307                      vnopS + "' !!"
    4306                 modexpvalsS = allvarcomp[vnopS]
    4307                 modexpvals = modexpvalsS.split('|')
     4308                modexpvals = allvarcomp[vnopS]
    43084309                Nmodexps = len(modexpvals)
    4309                 print fname + '; Lluis modexpvalsS:', modexpvalsS
    4310                 print fname + '; Lluis modexpvals:', modexpvals
    43114310
    43124311                for imodexp in range(0,Nmodexps,2):
Note: See TracChangeset for help on using the changeset viewer.