Changeset 113 for trunk/SRC/Interpolation/fromreg.pro
- Timestamp:
- 06/19/06 15:20:37 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Interpolation/fromreg.pro
r110 r113 14 14 ; must be 'bilinear' or 'imoms3' 15 15 ; @param datain {in}{required} a 2D array the input data to interpolate 16 ; @param lonin {in}{optional} longitude of the input data. optionals if 17 ; WEIG and ADDR keywords used. 18 ; @param latin {in}{optional} latitude of the input data. optionals if 19 ; WEIG and ADDR keywords used. 20 ; @param lonout {in}{optional} longitude of the output data. optionals if 21 ; WEIG and ADDR keywords used. 22 ; @param lonout {in}{optional} latitude of the output data. optionals if 23 ; WEIG and ADDR keywords used. 16 ; @param lonin {in}{required} 1D or 2D array defining the longitude of the input data 17 ; @param latin {in}{required} 1D or 2D array defining the latitude of the input data 18 ; @param lonout {in}{required} 1D or 2D array defining the longitude of the output data 19 ; @param lonout {in}{required} 1D or 2D array defining the latitude of the output data 24 20 ; 25 21 ; @keyword WEIG (see ADDR) … … 28 24 ; dataout = total(weig*datain[addr], 1) 29 25 ; dataout = reform(dataout, jpio, jpjo, /over) 30 ; Those keywords can be set to named variables into which the values will be31 ; copied when the current routine exits. Next, they can be used to perform26 ; Those keywords can be set to named variables (that are undefined or equal to 0) into which the 27 ; values will be copied when the current routine exits. Next, they can be used to perform 32 28 ; the interpolation whithout computing again those 2 parameters. In that 33 29 ; case, lonin, latin, lonout and latout are not necessary. … … 66 62 compile_opt strictarr, strictarrsubs 67 63 ; 68 IF NOT (keyword_set(weig) AND keyword_set(addr)) THEN BEGIN69 64 ;--------------- 70 65 ; atmospheric grid parameters … … 82 77 ; Compute weight and address 83 78 ;--------------- 79 IF NOT (keyword_set(weig) AND keyword_set(addr)) THEN BEGIN 84 80 CASE method OF 85 81 'bilinear':compute_fromreg_bilinear_weigaddr, alon, alat, olon, olat, weig, addr, NONORTHERNLINE = nonorthernline, NOSOUTHERNLINE = nosouthernline
Note: See TracChangeset
for help on using the changeset viewer.