Changeset 650 in lmdz_wrf
- Timestamp:
- Sep 23, 2015, 11:25:51 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/tools/nc_var_tools.py ΒΆ
r634 r650 12527 12527 dimnslice.append(vardims[idd]) 12528 12528 12529 varvalues = varobj[tuple(varvalsdim)] 12529 print 'orig shape:',varobj[:].shape,'sliced:',varobj[tuple(varvalsdim)].shape 12530 varvalues = np.squeeze(varobj[tuple(varvalsdim)]) 12531 print 'varvalues shape:',varvalues.shape 12530 12532 12531 12533 return varvalues, dimnslice
Note: See TracChangeset
for help on using the changeset viewer.