- Timestamp:
- Apr 10, 2017, 3:50:49 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r1503 r1505 10776 10776 slicevartot.append(slice(0,ldimfile)) 10777 10777 if tunits: 10778 uvals = objvar.getncattr('units') 10779 newtimes = gen.coincident_CFtimes(objvar[:], urefvals, uvals) 10778 print fname + ': Lluis tunuits:', objvar.units, 'values:', objvar[:] 10779 ojbvals, uvals = check_timestep(objvar) 10780 print 'Lluis after:', uvals, 'values:', objvals 10781 newtimes = gen.coincident_CFtimes(objvals, urefvals, uvals) 10780 10782 newvar[tuple(slicevartot)] = newtimes[:] 10781 10783 else:
Note: See TracChangeset
for help on using the changeset viewer.