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/ReadWrite/ncdf_getmask.html

    r363 r402  
    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_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> 
     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_XMINMESH">XMINMESH</a>=<span class="result">scalar</span>, <a href="#_ncdf_getmask_keyword_XMAXMESH">XMAXMESH</a>=<span class="result">scalar</span>, <a href="#_ncdf_getmask_keyword_YMINMESH">YMINMESH</a>=<span class="result">scalar</span>, <a href="#_ncdf_getmask_keyword_YMAXMESH">YMAXMESH</a>=<span class="result">scalar</span>, <a href="#_ncdf_getmask_keyword_ZMINMESH">ZMINMESH</a>=<span class="result">scalar</span>, <a href="#_ncdf_getmask_keyword_ZMAXMESH">ZMAXMESH</a>=<span class="result">scalar</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"> 
     
    137137 the full path) to be opened (in that case, the file will be opened 
    138138 and closed within ncdf_getmask). 
     139 
    139140 if fileid is a scalar then it is the id of the file return by a call 
    140141 to ncdf_open outside of ncdf_getmask (in that case, the file will 
     
    161162         
    162163            <div class="comments"> 
    163  put 1 to apply add_offset ad scale factor on data before looking for 
     164 put 1 to apply add_offset and scale factor on data before looking for 
    164165 missing values when using USEASMASK keyword 
    165166</div> 
     
    236237</div> 
    237238             
     239            <h4 id="_ncdf_getmask_keyword_XMINMESH">XMINMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     240               
     241               
     242               
     243               
     244               
     245              <span class="attr">type:</span> <span class="value">scalar</span> 
     246              <span class="attr">default:</span> <span class="value">0L</span> 
     247               
     248            </h4> 
     249         
     250            <div class="comments"> 
     251       Define common (cm_4mesh) variables ixminmesh used to define the localization 
     252       of the first point of the grid along the x direction in a zoom of the original grid 
     253</div> 
     254             
     255            <h4 id="_ncdf_getmask_keyword_XMAXMESH">XMAXMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     256               
     257               
     258               
     259               
     260               
     261              <span class="attr">type:</span> <span class="value">scalar</span> 
     262              <span class="attr">default:</span> <span class="value">jpiglo-1</span> 
     263               
     264            </h4> 
     265         
     266            <div class="comments"> 
     267       Define common (cm_4mesh) variables ixmaxmesh used to define the localization 
     268       of the last point of the grid along the x direction in a zoom of the original grid 
     269       Note that if XMAXMESH < 0 then ixmaxmesh is defined as ixmaxmesh = jpiglo -1 + xmaxmesh 
     270</div> 
     271             
     272            <h4 id="_ncdf_getmask_keyword_YMINMESH">YMINMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     273               
     274               
     275               
     276               
     277               
     278              <span class="attr">type:</span> <span class="value">scalar</span> 
     279              <span class="attr">default:</span> <span class="value">0L</span> 
     280               
     281            </h4> 
     282         
     283            <div class="comments"> 
     284       Define common (cm_4mesh) variables iyminmesh used to define the localization 
     285       of the first point of the grid along the y direction in a zoom of the original grid 
     286</div> 
     287             
     288            <h4 id="_ncdf_getmask_keyword_YMAXMESH">YMAXMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     289               
     290               
     291               
     292               
     293               
     294              <span class="attr">type:</span> <span class="value">scalar</span> 
     295              <span class="attr">default:</span> <span class="value">jpjglo-1</span> 
     296               
     297            </h4> 
     298         
     299            <div class="comments"> 
     300       Define common (cm_4mesh) variables iymaxmesh used to define the localization 
     301       of the last point of the grid along the y direction in a zoom of the original grid 
     302       Note that if YMAXMESH < 0 then iymaxmesh is defined as iymaxmesh = jpjglo -1 + ymaxmesh 
     303</div> 
     304             
     305            <h4 id="_ncdf_getmask_keyword_ZMINMESH">ZMINMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     306               
     307               
     308               
     309               
     310               
     311              <span class="attr">type:</span> <span class="value">scalar</span> 
     312              <span class="attr">default:</span> <span class="value">0L</span> 
     313               
     314            </h4> 
     315         
     316            <div class="comments"> 
     317       Define common (cm_4mesh) variables izminmesh used to define the localization 
     318       of the first point of the grid along the z direction in a zoom of the original grid 
     319</div> 
     320             
     321            <h4 id="_ncdf_getmask_keyword_ZMAXMESH">ZMAXMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     322               
     323               
     324               
     325               
     326               
     327              <span class="attr">type:</span> <span class="value">scalar</span> 
     328              <span class="attr">default:</span> <span class="value">jpkglo-1</span> 
     329               
     330            </h4> 
     331         
     332            <div class="comments"> 
     333       Define common (cm_4mesh) variables izmaxmesh used to define the localization 
     334       of the last point of the grid along the z direction in a zoom of the original grid 
     335       Note that if ZMAXMESH < 0 then izmaxmesh is defined as izmaxmesh = jpkglo -1 + maxmesh 
     336</div> 
     337             
    238338            <h4 id="_ncdf_getmask_keyword_TESTOP">TESTOP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    239339               
     
    251351 mask. The test is performed on the variable specified by USEASMASK 
    252352 keyword. 
     353 
    253354 TESTOP can contain 1 or 2 words. The first word is the operator 
    254355 definition: "EQ" "NE" "GE" "GT" "LE" "LT" (default is NE). The 
     
    278379          <h3>Examples</h3><div class="preformat"> 
    279380 
    280  IDL> mask = ncdf_getmask('HadISST1_1m_187001_200702_sst_reg1m.nc',useasmask = 'sst', missing_value = -1.00000e+30) 
    281  
    282  IDL> mask = ncdf_getmask('meshmaskORCA2.nc', maskname = 'tmask') 
    283  
    284  IDL> mask = ncdf_getmask('t106.nc', useasmask = 'SLM', testop = 'le 0.5') 
     381   IDL> mask = ncdf_getmask('HadISST1_1m_187001_200702_sst_reg1m.nc',useasmask = 'sst', missing_value = -1.00000e+30) 
     382 
     383   IDL> mask = ncdf_getmask('meshmaskORCA2.nc', maskname = 'tmask') 
     384 
     385   IDL> mask = ncdf_getmask('t106.nc', useasmask = 'SLM', testop = 'le 0.5') 
    285386</div> 
    286387          <h3>Version history</h3> 
    287388           
    288389          <h4>Version</h4><div class="preformat"> 
    289  $Id: ncdf_getmask.pro 361 2008-07-07 14:23:42Z smasson $ 
     390 $Id: ncdf_getmask.pro 399 2009-07-02 08:38:54Z smasson $ 
    290391</div> 
    291392          <h4>History</h4><div class="preformat"> 
     
    310411          <h3>Statistics</h3> 
    311412          <table class="statistics"> 
    312             <tr><td>McCabe cyclic</td><td>          34</td></tr> 
    313             <tr><td>McCabe essential</td><td>           1</td></tr> 
    314             <tr><td>McCabe modular design</td><td>           1</td></tr> 
     413            <tr><td>McCabe cyclic</td><td>          43</td></tr> 
     414            <tr><td>McCabe essential</td><td>           5</td></tr> 
     415            <tr><td>McCabe modular design</td><td>           5</td></tr> 
    315416          </table> 
    316417           
Note: See TracChangeset for help on using the changeset viewer.