- Timestamp:
- Sep 19, 2019, 8:28:30 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r2694 r2707 14838 14838 vals = dnames[1] + ',' + str(mappairs[1]) + ',' + str(mappairs[1]) + ',1@' 14839 14839 vals = vals + dnames[0] + ',' + str(mappairs[0]) + ',' + str(mappairs[0]) + ',1' 14840 vals = vals + ',False' 14840 14841 14841 14842 DataSetSection_multidims(vals, ncfile, 'all') 14842 of = ncfile.split('.')[0] + '_' + dnames[1] + '_B' + str(mappairs[1]) + '-E' + \ 14843 str(mappairs[1]) + '-I1_' + dnames[0] + '_B' + str(mappairs[0]) + '-E' + \ 14844 str(mappairs[0]) + '-I1.nc' 14845 14846 sub.call(['mv',of,ofile]) 14843 sub.call(['mv','newfile_multidims.nc',ofile]) 14847 14844 14848 14845 onc = NetCDFFile(ofile, 'a')
Note: See TracChangeset
for help on using the changeset viewer.