Changeset 238 for trunk/SRC/Interpolation/fromreg.pro
- Timestamp:
- 03/27/07 15:43:18 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Interpolation/fromreg.pro
r236 r238 4 4 ; interpolate data from a "regular/rectangular grid" to any grid. 5 5 ; 2 methods available: bilinear and imoms3 6 ; A "regular/rectangular grid" is defined as a grid for which each longitudes lines have 7 ; the same latitude and each latitudes columns have the same longitude. 6 ; A "regular/rectangular grid" is defined as a grid for which 7 ; each longitude lines have the same latitude and each latitude columns 8 ; have the same longitude. 8 9 ; 9 10 ; @categories … … 11 12 ; 12 13 ; @param method {in}{required}{type=string} 13 ; a string definingthe interpolation method.14 ; the interpolation method. 14 15 ; must be 'bilinear' or 'imoms3' 15 16 ; 16 17 ; @param datain {in}{required}{type=2d array} 17 ; a 2D arraythe input data to interpolate18 ; the input data to interpolate 18 19 ; 19 20 ; @param lonin {in}{required}{type=1d or 2d array} 20 ; 1D or 2D array definingthe longitude of the input data21 ; the longitude of the input data 21 22 ; 22 23 ; @param latin {in}{required}{type=1d or 2d array} 23 ; 1D or 2D array definingthe latitude of the input data24 ; the latitude of the input data 24 25 ; 25 26 ; @param lonout {in}{required}{type=1d or 2d array} 26 ; 1D or 2D array definingthe longitude of the output data27 ; the longitude of the output data 27 28 ; 28 29 ; @param latout {in}{required}{type=1d or 2d array} 29 ; 1D or 2D array definingthe latitude of the output data30 ; the latitude of the output data 30 31 ; 31 32 ; @keyword WEIG {type=2d array or variable name} … … 68 69 ; 69 70 ; 1) get back the weights and addresses in variables a and b 70 ; (that must be undefined or equal to 0 before calling fromreg )71 ; (that must be undefined or equal to 0 before calling fromreg 71 72 ; 72 73 ; IDL> t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b)
Note: See TracChangeset
for help on using the changeset viewer.