Changeset 812 in lmdz_wrf


Ignore:
Timestamp:
Jun 7, 2016, 5:50:00 PM (9 years ago)
Author:
lfita
Message:

Improving error message from `valmodoper'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r809 r812  
    13121312    modval = float(valsS[1])
    13131313
     1314    opers = ['sumc', 'subc', 'mulc', 'divc', 'lowthres', 'upthres', 'lowthres@oper', \
     1315      'upthres@oper', 'potc']
     1316
    13141317    if modins == 'sumc':
    13151318        varVal[:] = varVal[:] + modval
     
    13841387        print '  ' + fname + ": Operation to modify values '" + modins +             \
    13851388          "' is not defined !!"
     1389        print '    available:', opers
    13861390        quit(-1)
    13871391
Note: See TracChangeset for help on using the changeset viewer.