Changeset 640 in lmdz_wrf for trunk


Ignore:
Timestamp:
Sep 19, 2015, 11:53:40 AM (9 years ago)
Author:
lfita
Message:

Fixing splitting of dimensions' values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing.py

    r639 r640  
    343343    for dv in dimvals:
    344344        print dv
    345         dvn = dv.split('|')[0]
    346         dvv = dv.split('|')[1]
     345        dvn = dv.split(':')[0]
     346        dvv = dv.split(':')[1]
    347347        if dvv.find('@') != -1:
    348348            dimscut[dvn] = slice(int(dvv.split('@')[0]),int(dvv.split('@')[1]))
Note: See TracChangeset for help on using the changeset viewer.