Ignore:
Timestamp:
07/29/08 15:31:00 (16 years ago)
Author:
smasson
Message:

update documentation

File:
1 edited

Legend:

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

    r338 r363  
    109109         
    110110          <p class="header"> 
    111             <span class="result">result = </span>ncdf_getmask(<span class="result"><a href="#_ncdf_getmask_param_fileid">fileid</a></span>, <a href="#_ncdf_getmask_keyword_ADDSCL_BEFORE">ADDSCL_BEFORE</a>=<span class="result">scalar: 0 or 1</span>, <a href="#_ncdf_getmask_keyword_MASKNAME">MASKNAME</a>=<span class="result">string</span>, <a href="#_ncdf_getmask_keyword_USEASMASK">USEASMASK</a>=<span class="result">scalar string</span>, <a href="#_ncdf_getmask_keyword_MISSING_VALUE">MISSING_VALUE</a>=<span class="result">scalar</span>, <a href="#_ncdf_getmask_keyword_INVMASK">INVMASK</a>=<span class="result">scalar: 0 or 1</span>, <a href="#_ncdf_getmask_keyword__EXTRA">_EXTRA</a>=<span class="result">_EXTRA</span>)</p> 
     111            <span class="result">result = </span>ncdf_getmask(<span class="result"><a href="#_ncdf_getmask_param_fileid">fileid</a></span>, <a href="#_ncdf_getmask_keyword_ADDSCL_BEFORE">ADDSCL_BEFORE</a>=<span class="result">scalar: 0 or 1</span>, <a href="#_ncdf_getmask_keyword_MASKNAME">MASKNAME</a>=<span class="result">string</span>, <a href="#_ncdf_getmask_keyword_USEASMASK">USEASMASK</a>=<span class="result">scalar string</span>, <a href="#_ncdf_getmask_keyword_MISSING_VALUE">MISSING_VALUE</a>=<span class="result">scalar</span>, <a href="#_ncdf_getmask_keyword_INVMASK">INVMASK</a>=<span class="result">scalar: 0 or 1</span>, <a href="#_ncdf_getmask_keyword_TESTOP">TESTOP</a>=<span class="result">scalar string, for example 'GT 0.5'</span>, <a href="#_ncdf_getmask_keyword__EXTRA">_EXTRA</a>=<span class="result">_EXTRA</span>)</p> 
    112112         
    113113          <div class="comments"> 
     
    196196 that will be used to build the land/sea mask. In this case the 
    197197 mask is based on the first record (if record dimension 
    198  exists). The mask is build according to : 
    199     1 the keyword missing_value if existing 
    200     2 the attribute 'missing_value' if existing 
    201     3 NaN values if existing 
     198 exists). The mask is build according to operator defined by TESTOP 
     199 keyword (default NE) and the testing values defined as  
     200   1) the second word of TESTOP if existing 
     201   2) MISSING_VALUE keyword 
     202   3) attribute missing_value or _fillvalue of the variable USEASMASK 
     203   4) !Values.f_nan (can be used only with NE and EQ operators) 
    202204</div> 
    203205             
     
    214216         
    215217            <div class="comments"> 
    216  To define (or redefine if the attribute is 
    217  already existing) the missing values used with USEASMASK 
    218  keyword 
     218 To define (or redefine if the attribute is already existing) the 
     219 missing values used with USEASMASK keyword. Note that this value is 
     220 not used if TESTOP keyword is given and contains 2 words.   
    219221</div> 
    220222             
     
    234236</div> 
    235237             
     238            <h4 id="_ncdf_getmask_keyword_TESTOP">TESTOP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     239               
     240               
     241               
     242               
     243               
     244              <span class="attr">type:</span> <span class="value">scalar string, for example 'GT 0.5'</span> 
     245              <span class="attr">default:</span> <span class="value">'NE'</span> 
     246               
     247            </h4> 
     248         
     249            <div class="comments"> 
     250 a string describing the type of test that will be done to define the 
     251 mask. The test is performed on the variable specified by USEASMASK 
     252 keyword. 
     253 TESTOP can contain 1 or 2 words. The first word is the operator 
     254 definition: "EQ" "NE" "GE" "GT" "LE" "LT" (default is NE). The 
     255 second word define the testing value. If TESTOP contains only 1 
     256 word, then the test value is denifed by 
     257   1) MISSING_VALUE keyword 
     258   2) attribute missing_value or _fillvalue of the variable USEASMASK 
     259   3) !Values.f_nan (can be used only with NE and EQ operators) 
     260</div> 
     261             
    236262            <h4 id="_ncdf_getmask_keyword__EXTRA">_EXTRA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    237263               
     
    255281 
    256282 IDL> mask = ncdf_getmask('meshmaskORCA2.nc', maskname = 'tmask') 
     283 
     284 IDL> mask = ncdf_getmask('t106.nc', useasmask = 'SLM', testop = 'le 0.5') 
    257285</div> 
    258286          <h3>Version history</h3> 
    259287           
    260288          <h4>Version</h4><div class="preformat"> 
    261  $Id: ncdf_getmask.pro 327 2007-12-13 16:22:35Z pinsard $ 
     289 $Id: ncdf_getmask.pro 361 2008-07-07 14:23:42Z smasson $ 
    262290</div> 
    263291          <h4>History</h4><div class="preformat"> 
     
    282310          <h3>Statistics</h3> 
    283311          <table class="statistics"> 
    284             <tr><td>McCabe cyclic</td><td>          24</td></tr> 
     312            <tr><td>McCabe cyclic</td><td>          34</td></tr> 
    285313            <tr><td>McCabe essential</td><td>           1</td></tr> 
    286314            <tr><td>McCabe modular design</td><td>           1</td></tr> 
Note: See TracChangeset for help on using the changeset viewer.