Ignore:
Timestamp:
01/25/11 12:24:31 (13 years ago)
Author:
smasson
Message:

bugfix related to changeset:445

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Computation/e3w_3d.pro

    r446 r447  
    5555    IF ok[0]  NE -1 THEN BEGIN 
    5656; the bottom of the ocean in 3D index is: 
    57       bottom  = lindgen(nxt*nyt) + nxt*nyt*(temporary(bottom ))[ok ] 
     57      bottom  = (lindgen(nxt*nyt))[ok ] + nxt*nyt*(temporary(bottom ))[ok ] 
    5858      e3w_3d[bottom ] = arr2d[ok ] * (e3w_ps[firstxt:lastxt, firstyt:lastyt])[ok ] 
    5959    ENDIF 
    6060    IF ok2[0] NE -1 THEN BEGIN 
    61       bottom2 = lindgen(nxt*nyt) + nxt*nyt*(temporary(bottom2))[ok2] 
     61      bottom2 = (lindgen(nxt*nyt))[ok2] + nxt*nyt*(temporary(bottom2))[ok2] 
    6262      e3w_3d[bottom2] = arr2d[ok2] * (e3t_ps[firstxt:lastxt, firstyt:lastyt])[ok2] ; use e3t_ps and not e3w_ps 
    6363    ENDIF 
Note: See TracChangeset for help on using the changeset viewer.