Changeset 477 in lmdz_wrf for trunk/tools/drawing.py


Ignore:
Timestamp:
Jun 12, 2015, 11:03:07 AM (9 years ago)
Author:
lfita
Message:

Adding `dxdy_lonlatDIMS' to retrieve lon,lat matrices from the 'dimensions' list and values names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing.py

    r476 r477  
    169169        odimyu = '-'
    170170
    171     odimxv, odimyv = dxdy_lonlatDIMS(objdimx[:], objdimy[:], objdimx.dimensions,     \
    172       objdimy.dimensions, dimvals)
     171    odimxv, odimyv = drw.dxdy_lonlatDIMS(objdimx[:], objdimy[:], objdimx.dimensions,     \
     172      objdimy.dimensions, dimvals.replace(':','|').split(','))
     173
    173174
    174175#    if len(objdimx.shape) <= 2:
Note: See TracChangeset for help on using the changeset viewer.