Ignore:
Timestamp:
03/20/08 23:06:02 (16 years ago)
Author:
smasson
Message:

update documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/ReadWrite/write_oasis.html

    r321 r338  
    107107         
    108108          <p class="header"> 
    109             write_oasis<span class="result">, <a href="#_write_oasis_param_filename">filename</a>, <a href="#_write_oasis_param_varname">varname</a>, <a href="#_write_oasis_param_z2d">z2d</a></span>, <a href="#_write_oasis_keyword_I2">I2</a>=<span class="result">I2</span>, <a href="#_write_oasis_keyword_I4">I4</a>=<span class="result">I4</span>, <a href="#_write_oasis_keyword_I8">I8</a>=<span class="result">I8</span>, <a href="#_write_oasis_keyword_R4">R4</a>=<span class="result">R4</span>, <a href="#_write_oasis_keyword_APPEND">APPEND</a>=<span class="result">APPEND</span></p> 
     109            write_oasis<span class="result">, <a href="#_write_oasis_param_filename">filename</a>, <a href="#_write_oasis_param_varname">varname</a>, <a href="#_write_oasis_param_z2d">z2d</a></span>, <a href="#_write_oasis_keyword_I2">I2</a>=<span class="result">I2</span>, <a href="#_write_oasis_keyword_I4">I4</a>=<span class="result">I4</span>, <a href="#_write_oasis_keyword_I8">I8</a>=<span class="result">I8</span>, <a href="#_write_oasis_keyword_R4">R4</a>=<span class="result">R4</span>, <a href="#_write_oasis_keyword_APPEND">APPEND</a>=<span class="result">APPEND</span>, <a href="#_write_oasis_keyword_RECSIZE">RECSIZE</a>=<span class="result">RECSIZE</span>, <a href="#_write_oasis_keyword_TEMPORARY">TEMPORARY</a>=<span class="result">TEMPORARY</span>, <a href="#_write_oasis_keyword_HEADER">HEADER</a>=<span class="result">HEADER</span>, <a href="#_write_oasis_keyword_ENDING">ENDING</a>=<span class="result">ENDING</span>, <a href="#_write_oasis_keyword_POSITION">POSITION</a>=<span class="result">POSITION</span></p> 
    110110         
    111111          <div class="comments"> 
     
    240240</div> 
    241241             
    242            
    243  
    244            
     242            <h4 id="_write_oasis_keyword_RECSIZE">RECSIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     243               
     244               
     245               
     246               
     247               
     248               
     249               
     250               
     251            </h4> 
     252         
     253            <div class="comments"> 
     254 define the size of the full data array to be written. Usefull when 
     255 you want to save memory and write the data in several write_oasis 
     256 instructions. see example 
     257</div> 
     258             
     259            <h4 id="_write_oasis_keyword_TEMPORARY">TEMPORARY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     260               
     261               
     262               
     263               
     264               
     265               
     266               
     267               
     268            </h4> 
     269         
     270            <div class="comments"> 
     271 activate undefine z2d when yo write it (to save memory) -> z2d will 
     272 be lost once write_oasis is returning. 
     273</div> 
     274             
     275            <h4 id="_write_oasis_keyword_HEADER">HEADER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     276               
     277               
     278               
     279               
     280               
     281               
     282               
     283               
     284            </h4> 
     285         
     286            <div class="comments"> 
     287 activate to write the header ("character*8" contained in varname) 
     288 before writting the data. Used when recsize is defined and /= 0, see example 
     289</div> 
     290             
     291            <h4 id="_write_oasis_keyword_ENDING">ENDING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     292               
     293               
     294               
     295               
     296               
     297               
     298               
     299               
     300            </h4> 
     301         
     302            <div class="comments"> 
     303 activate when you write the last part of the data. Used when recsize 
     304 is defined and /= 0, see example 
     305</div> 
     306             
     307            <h4 id="_write_oasis_keyword_POSITION">POSITION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     308               
     309               
     310               
     311               
     312               
     313               
     314               
     315               
     316            </h4> 
     317         
     318            <div class="comments"> 
     319 specify the position (in byte) at which you want to write the 
     320 data. Used when recsize is defined and /= 0, see example 
     321</div> 
     322             
     323           
     324 
     325          <h3>Examples</h3><div class="preformat"> 
     326 
     327   write_oasis, fa2of, 'WEIGHTS5', weig 
     328 
     329 or in several call so save memory 
     330 
     331   ysz = 100L 
     332   recsz8 = 16L * jpio * jpjo * 8L 
     333   FOR i = 0L, jpjo-1L, ysz DO BEGIN  
     334     ii = (i+ysz-1L) < (jpjo-1L) 
     335     position = (4L + 8L + 4L + 4L)*(i NE 0) + 16L * jpio * i * 8L 
     336     weig = ....  
     337     write_oasis, fa2ou, 'WEIGHTS3', temporary(weig), /temporary, append = i NE 0, header = i EQ 0 $ 
     338                  , ending = ii EQ jpjo-1, recsize = recsz8, position = position 
     339   ENDFOR 
     340 
     341</div> 
    245342          <h3>Version history</h3> 
    246343           
    247344          <h4>Version</h4><div class="preformat"> 
    248  $Id: write_oasis.pro 238 2007-03-27 13:43:18Z pinsard $ 
     345 $Id: write_oasis.pro 332 2008-02-11 16:48:24Z smasson $ 
    249346</div> 
    250347          <h4>History</h4><div class="preformat"> 
     
    272369          <h3>Statistics</h3> 
    273370          <table class="statistics"> 
    274             <tr><td>McCabe cyclic</td><td>           7</td></tr> 
     371            <tr><td>McCabe cyclic</td><td>          17</td></tr> 
    275372            <tr><td>McCabe essential</td><td>           1</td></tr> 
    276373            <tr><td>McCabe modular design</td><td>           1</td></tr> 
Note: See TracChangeset for help on using the changeset viewer.