Changeset 199 for trunk/SRC/Interpolation
- Timestamp:
- 12/13/06 08:47:14 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Interpolation/extrapolate.pro
r157 r199 18 18 ; @keyword MINVAL 19 19 ; @keyword MAXVAL 20 ; @keyword GE0 20 21 ; 21 22 ; @version $Id$ 22 23 ; 23 24 ;- 24 FUNCTION extrapolate, zinput, maskinput, nb_iteration, x_periodic = x_periodic, MINVAL = minval, MAXVAL = maxval 25 FUNCTION extrapolate, zinput, maskinput, nb_iteration, x_periodic = x_periodic, MINVAL = minval, MAXVAL = maxval, GE0 = ge0 25 26 ; 26 27 compile_opt idl2, strictarrsubs … … 122 123 +z[-nx2+1+coast]+z[-nx2-1+coast]) 123 124 ; 125 IF keyword_set(ge0) THEN zcoast = 0. > temporary(zcoast) 124 126 IF n_elements(minval) NE 0 THEN zcoast = minval > temporary(zcoast) 125 127 IF n_elements(maxval) NE 0 THEN zcoast = temporary(zcoast) < maxval
Note: See TracChangeset
for help on using the changeset viewer.