- Timestamp:
- Sep 18, 2015, 6:19:32 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r635 r637 23 23 # numVector_String: 24 24 # timeref_datetime: 25 # slice_variable: Function to return a slice of a given variable according to values to its 26 dimension 25 # slice_variable: Function to return a slice of a given variable according to values to its dimension 27 26 # interpolate_locs: 28 27 # datetimeStr_conversion: … … 250 249 varvalsdim.append(slice(0,varobj.shape[idd])) 251 250 dimnslice.append(vardims[idd]) 252 print 'Lluis dimslice:',dimslice253 print 'Lluis: varvalsdim',varvalsdim254 251 varvalues = varobj[tuple(varvalsdim)] 255 252
Note: See TracChangeset
for help on using the changeset viewer.