Changeset 607 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jul 17, 2015, 4:58:15 PM (10 years ago)
Author:
lfita
Message:

Fixing up to the dimensino length on 'concidenttimes' averages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/validation_sim.py

    r602 r607  
    13581358                posprev = postf[uniqt[it-1]][1]
    13591359                posit = list(tvalues[:,3]).index(uniqt[it])
    1360                 postf[uniqt[it]] = [posprev+1, posit+1]
     1360                postf[uniqt[it]] = [posprev+1, np.min([posit+1,dt-1])]
    13611361    elif kvals == 'tbackwardOmean':
    13621362        print '  ' + fname + ':',kvals,'!!'
     
    15711571                        fsoSvalues[it,iy,ix] = np.mean(soSvalues[intv[0]:intv[1],    \
    15721572                          iy,ix])
     1573            print 'Lluis:',it,':',intv,'<>',soTtvalues.shape,fsoTtvalues.shape
    15731574            fsoTtvalues[it,0] = soTtvalues[intv[0],0]
    15741575            fsoTtvalues[it,1] = soTtvalues[intv[1],0]
Note: See TracChangeset for help on using the changeset viewer.