Ignore:
Timestamp:
07/23/09 11:18:49 (15 years ago)
Author:
smasson
Message:

update documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_assistant_output/Interpolation/fromreg.html

    r338 r402  
    6363     
    6464 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  
    6871 have the same longitude. 
    6972 
     
    236239          dataout = total(weig*datain[addr], 1) 
    237240          dataout = reform(dataout, jpio, jpjo, /over) 
     241 
    238242 In that case, method, lonin, latin, are not used (but are necessary). 
    239243 lonout, latout are used only to know the output domain size 
     
    295299  To interpolate 1 field: 
    296300 
    297  IDL> topa = fromreg('bilinear', tncep, xncep, yncep, glamt, gphit) 
     301   IDL> topa = fromreg('bilinear', tncep, xncep, yncep, glamt, gphit) 
    298302 
    299303  or if you have several fields to interpolate from the same source and target grids 
     
    302306   (that must be undefined or equal to 0 before calling fromreg 
    303307 
    304  IDL> t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b) 
    305  IDL> help, a, b 
     308   IDL> t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b) 
     309   IDL> help, a, b 
    306310 
    307311 2) use a and b that are now defined to bypass the computation of the weights and addresses  
    308312 and speed-up the computation! 
    309313 
    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) 
    311315 
    312316    </pre><h3>Version history</h3> 
    313317     
    314318    <h4>Version</h4> 
    315  $Id: fromreg.pro 327 2007-12-13 16:22:35Z pinsard $ 
     319 $Id: fromreg.pro 372 2008-08-08 12:31:53Z pinsard $ 
    316320 
    317321    <h4>History</h4> 
Note: See TracChangeset for help on using the changeset viewer.