Ignore:
Timestamp:
03/21/07 10:14:37 (17 years ago)
Author:
pinsard
Message:

new idldoc html and assistant outputs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/Interpolation/fromirr.html

    r210 r234  
    105105        <div class="routine_details" id="_fromirr"> 
    106106 
    107           <h2><a class="top" href="#container">top</a>fromirr <span class="categories">  
     107          <h2><a class="top" href="#container">top</a>fromirr <span class="categories"> 
    108108 Interpolation 
    109109</span></h2> 
     
    279279         
    280280            <div class="comments"> 
    281  2D arrays, weig and addr are the weight and addresses used to 
    282  perform the interpolation: 
     281 1) at the first call of fromirr: 
     282 This keyword can be set to a named variable (undefined or equal to 0) into which the 
     283 addresses used to perform the interpolation will be copied when the current routine exits. 
     284 2) Next, once this keyword is set to a defined 2d array, it is used to bypass the computation 
     285 of the weights and addresses used to perform the interpolation. In this case, fromirr simply 
     286 compute the interpolated field as: 
    283287          dataout = total(weig*datain[addr], 1) 
    284288          dataout = reform(dataout, jpio, jpjo, /over) 
    285  Those keywords can be set to named variables (that are undefined or equal to 0) into which the 
    286  values will be copied when the current routine exits. Next, they can be used to perform 
    287  the interpolation without computing again those 2 parameters. This greatly 
    288  speed-up the interpolation! In that case, lonin, latin, lonout and latout are not necessary. 
     289 In that case, method, lonin, latin, are not used (but are necessary). 
     290 lonout, latout are used only to know the output domain size 
    289291</div> 
    290292             
     
    293295          <h3>Examples</h3><div class="preformat"> 
    294296 
     297  To interpolate 1 field: 
     298 
    295299 IDL> tncep = fromirr('bilinear', topa, glamt, gphit, tmask[*,*,0], lonout, latout, mskout) 
    296300 
    297   or 
     301  or if you have several fields to interpolate from the same source and target grids 
     302 
     303 1) get back the weights and addresses in variables a and b 
     304   (that must be undefined or equal to 0 before calling fromirr) 
    298305 
    299306 IDL> t1ncep = fromirr('bilinear', topa, glamt, gphit, tmask[*,*,0], lonout, latout, mskout $ 
    300307                            , WEIG = a, ADDR = b) 
    301308 IDL> help, a, b 
     309 
     310 2) use a and b that are now defined to bypass the computation of the weights and addresses  
     311 and speed-up the computation! 
     312 
    302313 IDL> t2ncep = fromirr('bilinear', topa, WEIG = a, ADDR = b) 
    303314</div> 
    304315          <h3>Version history</h3> 
    305316           
    306           <h4>Version</h4><div class="preformat"> $Id: fromirr.pro 205 2007-01-22 07:55:49Z smasson $ 
     317          <h4>Version</h4><div class="preformat"> 
     318 $Id: fromirr.pro 231 2007-03-19 17:15:51Z pinsard $ 
    307319</div> 
    308320          <h4>History</h4><div class="preformat"> 
Note: See TracChangeset for help on using the changeset viewer.