Changeset 1505 in lmdz_wrf for trunk


Ignore:
Timestamp:
Apr 10, 2017, 3:50:49 PM (8 years ago)
Author:
lfita
Message:

Starting to use 'check_timestep' in `netcdf_fold_concatenation_HMT'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1503 r1505  
    1077610776                slicevartot.append(slice(0,ldimfile))
    1077710777            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)
    1078010782                newvar[tuple(slicevartot)] = newtimes[:]
    1078110783            else:
Note: See TracChangeset for help on using the changeset viewer.