Ignore:
Timestamp:
10/08/18 18:46:28 (6 years ago)
Author:
dubos
Message:

devel/unstructured : fixed indexing bug in Cartesian mesh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/Python/test/py/NH_3D_bubble.py

    r747 r753  
    117117    print 'ptop, model top (m) :', unst.getvar('ptop'), Phi.max()/unst.getvar('g') 
    118118    jj=ny/2 
    119     xx,zz,ss,ww = mesh.xx[:,jj,:]/1000., z[:,jj,:]/1000., s[:,jj,:], w[:,jj,:] 
     119    xx,zz,ss,ww = mesh.xx[jj,:,:]/1000., z[jj,:,:]/1000., s[jj,:,:], w[jj,:,:] 
    120120 
    121121    f, (ax1, ax2) = plt.subplots(1, 2, sharey=True, figsize=(12,4)) 
Note: See TracChangeset for help on using the changeset viewer.