Changeset 208


Ignore:
Timestamp:
02/02/07 12:23:09 (17 years ago)
Author:
smasson
Message:

bugfix in bilinear interpolation when out of the input domain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Interpolation/compute_fromreg_bilinear_weigaddr.pro

    r202 r208  
    211211    IF south[0] NE -1 THEN yaddr[*, bad[temporary(south)]] = 0L 
    212212    north = where(ybad GT alat[jpja-1]) 
    213     IF north[0] NE -1 THEN yaddr[*, bad[temporary(north)]] = 0L 
     213    IF north[0] NE -1 THEN yaddr[*, bad[temporary(north)]] = jpja-1 
    214214    ybad = -1 & bad = -1 ; free memory 
    215215  ENDIF 
Note: See TracChangeset for help on using the changeset viewer.