Changeset 253 in lmdz_wrf
- Timestamp:
- Feb 8, 2015, 11:22:04 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r219 r253 555 555 * [integer]: which value of the dimension 556 556 * -1: all along the dimension 557 * -9: last value of the dimension 557 558 * [beg]:[end] slice from [beg] to [end] 558 559 ncfile = netCDF file name … … 10719 10720 * [integer]: which value of the dimension 10720 10721 * -1: all along the dimension 10722 * -9: last value of the dimension 10721 10723 * [beg]:[end] slice from [beg] to [end] 10722 10724 """ … … 10752 10754 varvalsdim.append(slice(0,varobj.shape[idd])) 10753 10755 dimnslice.append(vardims[idd]) 10756 elif int(dimcutv) == -9: 10757 varvalsdim.append(int(varobj.shape[idd])-1) 10754 10758 else: 10755 10759 varvalsdim.append(int(dimcutv))
Note: See TracChangeset
for help on using the changeset viewer.