Changeset 399 in lmdz_wrf for trunk


Ignore:
Timestamp:
Apr 16, 2015, 7:07:24 PM (10 years ago)
Author:
lfita
Message:

Adding `found' when the dimension is already found in slice_variable

Location:
trunk/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r398 r399  
    230230                    else:
    231231                        varvalsdim.append(int(dimcutv))
     232                found = True
    232233                break
    233234        if not found and not searchInlist(dimnslice,vardims[idd]):
  • trunk/tools/nc_var_tools.py

    r397 r399  
    1196111961                    else:
    1196211962                        varvalsdim.append(int(dimcutv))
     11963                found = True
    1196311964                break
    1196411965        if not found and not searchInlist(dimnslice,vardims[idd]):
Note: See TracChangeset for help on using the changeset viewer.