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_html_output/Interpolation/fromreg.html

    r338 r402  
    8989      <div id="file_comments"> 
    9090 interpolate data from a "regular/rectangular grid" to any grid. 
    91    2 methods available: bilinear and imoms3 
    92    A "regular/rectangular grid" is defined as a grid for which  
    93  each longitude lines have the same latitude and each latitude columns  
     91 
     92 2 methods available: bilinear and imoms3 
     93 
     94 A "regular/rectangular grid" is defined as a grid for which  
     95 
     96 Each longitude lines have the same latitude and each latitude columns  
    9497 have the same longitude. 
    9598</div> 
     
    259262          dataout = total(weig*datain[addr], 1) 
    260263          dataout = reform(dataout, jpio, jpjo, /over) 
     264 
    261265 In that case, method, lonin, latin, are not used (but are necessary). 
    262266 lonout, latout are used only to know the output domain size 
     
    315319  To interpolate 1 field: 
    316320 
    317  IDL> topa = fromreg('bilinear', tncep, xncep, yncep, glamt, gphit) 
     321   IDL> topa = fromreg('bilinear', tncep, xncep, yncep, glamt, gphit) 
    318322 
    319323  or if you have several fields to interpolate from the same source and target grids 
     
    322326   (that must be undefined or equal to 0 before calling fromreg 
    323327 
    324  IDL> t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b) 
    325  IDL> help, a, b 
     328   IDL> t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b) 
     329   IDL> help, a, b 
    326330 
    327331 2) use a and b that are now defined to bypass the computation of the weights and addresses  
    328332 and speed-up the computation! 
    329333 
    330  IDL> t2opa = fromreg('bilinear', t2ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b) 
     334   IDL> t2opa = fromreg('bilinear', t2ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b) 
    331335</div> 
    332336          <h3>Version history</h3> 
    333337           
    334338          <h4>Version</h4><div class="preformat"> 
    335  $Id: fromreg.pro 327 2007-12-13 16:22:35Z pinsard $ 
     339 $Id: fromreg.pro 372 2008-08-08 12:31:53Z pinsard $ 
    336340</div> 
    337341          <h4>History</h4><div class="preformat"> 
Note: See TracChangeset for help on using the changeset viewer.