- Timestamp:
- 07/23/09 11:18:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_assistant_output/Interpolation/fromirr.html
r338 r402 63 63 64 64 interpolate data from an irregular 2D grid to any 2D grid. 65 Only 1 method available = bilinear 65 66 Only 1 method available = bilinear 66 67 67 68 … … 268 269 dataout = total(weig*datain[addr], 1) 269 270 dataout = reform(dataout, jpio, jpjo, /over) 271 270 272 In that case, method, lonin, latin, are not used (but are necessary). 271 273 lonout, latout are used only to know the output domain size … … 293 295 To interpolate 1 field: 294 296 295 IDL> tncep = fromirr('bilinear', topa, glamt, gphit, tmask[*,*,0], lonout, latout, mskout)297 IDL> tncep = fromirr('bilinear', topa, glamt, gphit, tmask[*,*,0], lonout, latout, mskout) 296 298 297 299 or if you have several fields to interpolate from the same source and target grids … … 300 302 (that must be undefined or equal to 0 before calling fromirr) 301 303 302 IDL> t1ncep = fromirr('bilinear', topa, glamt, gphit, tmask[*,*,0], lonout, latout, mskout $304 IDL> t1ncep = fromirr('bilinear', topa, glamt, gphit, tmask[*,*,0], lonout, latout, mskout $ 303 305 , WEIG = a, ADDR = b) 304 IDL> help, a, b306 IDL> help, a, b 305 307 306 308 2) use a and b that are now defined to bypass the computation of the weights 307 309 and addresses and speed-up the computation! 308 310 309 IDL> t2ncep = fromirr('bilinear', topa, WEIG = a, ADDR = b)311 IDL> t2ncep = fromirr('bilinear', topa, WEIG = a, ADDR = b) 310 312 311 313 </pre><h3>Version history</h3> 312 314 313 315 <h4>Version</h4> 314 $Id: fromirr.pro 3 27 2007-12-13 16:22:35Z pinsard $316 $Id: fromirr.pro 372 2008-08-08 12:31:53Z pinsard $ 315 317 316 318 <h4>History</h4> 317 319 June 2006: Sebastien Masson (smasson@lodyc.jussieu.fr) 318 320 319 321
Note: See TracChangeset
for help on using the changeset viewer.