Changeset 635 in lmdz_wrf for trunk


Ignore:
Timestamp:
Sep 18, 2015, 6:14:55 PM (9 years ago)
Author:
lfita
Message:

Adding function name and some checkings in slice_variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r625 r635  
    2323# numVector_String:
    2424# timeref_datetime:
    25 # slice_variable:
     25# slice_variable: Function to return a slice of a given variable according to values to its
     26      dimension
    2627# interpolate_locs:
    2728# datetimeStr_conversion:
     
    249250            varvalsdim.append(slice(0,varobj.shape[idd]))
    250251            dimnslice.append(vardims[idd])
    251 
     252    print 'Lluis dimslice:',dimslice
     253    print 'Lluis: varvalsdim',varvalsdim
    252254    varvalues = varobj[tuple(varvalsdim)]
    253255
Note: See TracChangeset for help on using the changeset viewer.