Ignore:
Timestamp:
Dec 1, 2011, 9:20:15 AM (13 years ago)
Author:
acolaitis
Message:

PYTHON. Fixed a bug in reducefield

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/myplot.py

    r434 r437  
    164164        elif d1 is not None:        output = mean(input[:,:,:,d1],axis=3)
    165165        elif d2 is not None:        output = mean(input[:,:,d2,:],axis=2)
    166         elif d3 is not None:        output = reduce_zaxis(input[:,d3,:,:],ax=0,yint=yint,vert=alt,indice=d3)
     166        elif d3 is not None:        output = reduce_zaxis(input[:,d3,:,:],ax=1,yint=yint,vert=alt,indice=d3)
    167167        elif d4 is not None:        output = mean(input[d4,:,:,:],axis=0)
    168168    dimension = np.array(output).ndim
Note: See TracChangeset for help on using the changeset viewer.