Changeset 1508 in lmdz_wrf for trunk


Ignore:
Timestamp:
Apr 10, 2017, 5:06:58 PM (8 years ago)
Author:
lfita
Message:

Using `check_timestep' for 'netcdf_fold_concatenation_HMT'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1505 r1508  
    1069810698    for ifile in range(Nfiles):
    1069910699        ncobj = ncobjs[ifile]
     10700        print fname + 'Lluis ifle:', ifile, 'filen', confiles[ifile],'condim:', condim,  'dims:', ncobjs[ifile].dimensions
    1070010701        totcondim = totcondim + len(ncobjs[ifile].dimensions[condim])
    1070110702
     
    1077610777                slicevartot.append(slice(0,ldimfile))
    1077710778            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)
    1078110781                newtimes = gen.coincident_CFtimes(objvals, urefvals, uvals)
    1078210782                newvar[tuple(slicevartot)] = newtimes[:]
Note: See TracChangeset for help on using the changeset viewer.