Changeset 118 for trunk/SRC/Interpolation/fromreg.pro
- Timestamp:
- 06/27/06 17:47:06 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Interpolation/fromreg.pro
- Property svn:keywords set to Id
r114 r118 11 11 ; dataout = fromreg(method, datain [, lonin, latin, lonout, latout]) 12 12 ; 13 ; 13 ; @param method {in}{required} a string defining the interpolation method. 14 14 ; must be 'bilinear' or 'imoms3' 15 ; 16 ; 17 ; 18 ; 19 ; @param lonout {in}{required} 1D or 2D array defining the latitude of the output data15 ; @param datain {in}{required} a 2D array the input data to interpolate 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 latout {in}{required} 1D or 2D array defining the latitude of the output data 20 20 ; 21 ; @keyword 22 ; @keyword 21 ; @keyword WEIG (see ADDR) 22 ; @keyword ADDR 2D arrays, weig and addr are the weight and addresses used to 23 23 ; perform the interpolation: 24 24 ; dataout = total(weig*datain[addr], 1) … … 29 29 ; case, lonin, latin, lonout and latout are not necessary. 30 30 ; 31 ; @keyword /NONORTHERNLINE and /NOSOUTHERNLINE activate if you don't whant to take into 32 ; account the northen/southern line of the input data when perfoming the 33 ; interpolation. 31 ; @keyword /NONORTHERNLINE 32 ; @keyword /NOSOUTHERNLINE 33 ; activate if you don't whant to take into account the northen/southern line 34 ; of the input data when perfoming the interpolation. 34 35 ; 35 36 ; @returns 2D array: the interpolated data … … 40 41 ; @examples 41 42 ; 42 ; topa = fromreg('bilinear', tncep, xncep, yncep, glamt, gphit)43 ; IDL> topa = fromreg('bilinear', tncep, xncep, yncep, glamt, gphit) 43 44 ; 44 45 ; or 45 46 ; 46 ; t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b)47 ; help, a, b48 ; t2opa = fromreg('bilinear', t2ncep, xncep, WEIG = a, ADDR = b)47 ; IDL> t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b) 48 ; IDL> help, a, b 49 ; IDL> t2opa = fromreg('bilinear', t2ncep, xncep, WEIG = a, ADDR = b) 49 50 ; 50 51 ; @history 51 52 ; November 2005: Sebastien Masson (smasson\@lodyc.jussieu.fr) 52 ; 53 ; 54 ; @version $Id$ 55 ; 53 56 ;- 54 57 ;----------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.