- Timestamp:
- Apr 10, 2017, 5:06:58 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r1505 r1508 10698 10698 for ifile in range(Nfiles): 10699 10699 ncobj = ncobjs[ifile] 10700 print fname + 'Lluis ifle:', ifile, 'filen', confiles[ifile],'condim:', condim, 'dims:', ncobjs[ifile].dimensions 10700 10701 totcondim = totcondim + len(ncobjs[ifile].dimensions[condim]) 10701 10702 … … 10776 10777 slicevartot.append(slice(0,ldimfile)) 10777 10778 if tunits: 10778 print fname + ': Lluis tunuits:', objvar.units, 'values:', objvar[:] 10779 ojbvals, uvals = check_timestep(objvar) 10780 print 'Lluis after:', uvals, 'values:', objvals 10779 urefvals, objvals = gen.check_timestep(odimvar) 10780 uvals, objvals = gen.check_timestep(objvar) 10781 10781 newtimes = gen.coincident_CFtimes(objvals, urefvals, uvals) 10782 10782 newvar[tuple(slicevartot)] = newtimes[:]
Note: See TracChangeset
for help on using the changeset viewer.