Changeset 509 in lmdz_wrf


Ignore:
Timestamp:
Jun 17, 2015, 4:23:34 PM (10 years ago)
Author:
lfita
Message:

Fixing `istep' on closest values of 'DatesFiles?'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r508 r509  
    1594915949                if diffT > DT.total_seconds():
    1595015950                    istep = ncobjs[fn].index(it)
    15951                     print fname + 'Closest:',dtv,fn,it,diffitv,'(date, filname, ' +  \
    15952                       'time-step, distance in seconds)'
     15951                    print fname + 'Closest:',dtv,fn,istep,diffitv,'(date, ' +        \
     15952                      'filname, time-step, distance in seconds)'
    1595315953                    Cfounddates[dtv] = [dtv,fn,istep,diffitv]
    1595415954                    foundclosest = True
Note: See TracChangeset for help on using the changeset viewer.