- Timestamp:
- 07/23/09 11:18:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_assistant_output/Interpolation/fromreg.html
r338 r402 63 63 64 64 interpolate data from a "regular/rectangular grid" to any grid. 65 2 methods available: bilinear and imoms3 66 A "regular/rectangular grid" is defined as a grid for which 67 each longitude lines have the same latitude and each latitude columns 65 66 2 methods available: bilinear and imoms3 67 68 A "regular/rectangular grid" is defined as a grid for which 69 70 Each longitude lines have the same latitude and each latitude columns 68 71 have the same longitude. 69 72 … … 236 239 dataout = total(weig*datain[addr], 1) 237 240 dataout = reform(dataout, jpio, jpjo, /over) 241 238 242 In that case, method, lonin, latin, are not used (but are necessary). 239 243 lonout, latout are used only to know the output domain size … … 295 299 To interpolate 1 field: 296 300 297 IDL> topa = fromreg('bilinear', tncep, xncep, yncep, glamt, gphit)301 IDL> topa = fromreg('bilinear', tncep, xncep, yncep, glamt, gphit) 298 302 299 303 or if you have several fields to interpolate from the same source and target grids … … 302 306 (that must be undefined or equal to 0 before calling fromreg 303 307 304 IDL> t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b)305 IDL> help, a, b308 IDL> t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b) 309 IDL> help, a, b 306 310 307 311 2) use a and b that are now defined to bypass the computation of the weights and addresses 308 312 and speed-up the computation! 309 313 310 IDL> t2opa = fromreg('bilinear', t2ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b)314 IDL> t2opa = fromreg('bilinear', t2ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b) 311 315 312 316 </pre><h3>Version history</h3> 313 317 314 318 <h4>Version</h4> 315 $Id: fromreg.pro 3 27 2007-12-13 16:22:35Z pinsard $319 $Id: fromreg.pro 372 2008-08-08 12:31:53Z pinsard $ 316 320 317 321 <h4>History</h4>
Note: See TracChangeset
for help on using the changeset viewer.