Changeset 1269 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Nov 3, 2016, 7:58:37 PM (8 years ago)
Author:
lfita
Message:

Changing 'error' by 'warning' when a variable-dimension is not found in `compute_opersvarsfile'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1267 r1269  
    70177017                # Dimension-variable
    70187018                if not objnc.variables.has_key(dimv):
    7019                     print errormsg
     7019                    print warnmsg
    70207020                    print '  ' + fname + ": file '" + filen + "' does not have " +   \
    70217021                      "dimension-variable '" + dimv + "' !!"
    7022                     quit(-1)
    7023                 # Keeping the dimensions
    7024                 Ddimvs.append([dimn, dimv, dimr])
     7022                    print '    keep going on'
     7023                    #quit(-1)
     7024                else:
     7025                    # Keeping the dimensions
     7026                    Ddimvs.append([dimn, dimv, dimr])
    70257027
    70267028            # Getting values of the variable
Note: See TracChangeset for help on using the changeset viewer.