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

    r338 r363  
    7474</font></h2> 
    7575 
    76       <p><font face="Courier"><i>result = </i>ncdf_getmask(<i><a href="#_ncdf_getmask_keyword_fileid">fileid</a></i>, <a href="#_ncdf_getmask_keyword_ADDSCL_BEFORE">ADDSCL_BEFORE</a>=<i>scalar: 0 or 1</i>, <a href="#_ncdf_getmask_keyword_MASKNAME">MASKNAME</a>=<i>string</i>, <a href="#_ncdf_getmask_keyword_USEASMASK">USEASMASK</a>=<i>scalar string</i>, <a href="#_ncdf_getmask_keyword_MISSING_VALUE">MISSING_VALUE</a>=<i>scalar</i>, <a href="#_ncdf_getmask_keyword_INVMASK">INVMASK</a>=<i>scalar: 0 or 1</i>, <a href="#_ncdf_getmask_keyword__EXTRA">_EXTRA</a>=<i>_EXTRA</i>)</font></p> 
     76      <p><font face="Courier"><i>result = </i>ncdf_getmask(<i><a href="#_ncdf_getmask_keyword_fileid">fileid</a></i>, <a href="#_ncdf_getmask_keyword_ADDSCL_BEFORE">ADDSCL_BEFORE</a>=<i>scalar: 0 or 1</i>, <a href="#_ncdf_getmask_keyword_MASKNAME">MASKNAME</a>=<i>string</i>, <a href="#_ncdf_getmask_keyword_USEASMASK">USEASMASK</a>=<i>scalar string</i>, <a href="#_ncdf_getmask_keyword_MISSING_VALUE">MISSING_VALUE</a>=<i>scalar</i>, <a href="#_ncdf_getmask_keyword_INVMASK">INVMASK</a>=<i>scalar: 0 or 1</i>, <a href="#_ncdf_getmask_keyword_TESTOP">TESTOP</a>=<i>scalar string, for example 'GT 0.5'</i>, <a href="#_ncdf_getmask_keyword__EXTRA">_EXTRA</a>=<i>_EXTRA</i>)</font></p> 
    7777 
    7878     
     
    164164 that will be used to build the land/sea mask. In this case the 
    165165 mask is based on the first record (if record dimension 
    166  exists). The mask is build according to : 
    167     1 the keyword missing_value if existing 
    168     2 the attribute 'missing_value' if existing 
    169     3 NaN values if existing 
     166 exists). The mask is build according to operator defined by TESTOP 
     167 keyword (default NE) and the testing values defined as  
     168   1) the second word of TESTOP if existing 
     169   2) MISSING_VALUE keyword 
     170   3) attribute missing_value or _fillvalue of the variable USEASMASK 
     171   4) !Values.f_nan (can be used only with NE and EQ operators) 
    170172 
    171173     
     
    183185 
    184186     
    185  To define (or redefine if the attribute is 
    186  already existing) the missing values used with USEASMASK 
    187  keyword 
     187 To define (or redefine if the attribute is already existing) the 
     188 missing values used with USEASMASK keyword. Note that this value is 
     189 not used if TESTOP keyword is given and contains 2 words.   
    188190 
    189191     
     
    204206 
    205207     
     208    <a name="#_ncdf_getmask_keyword_TESTOP"></a> 
     209    <h4>TESTOP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     210       
     211       
     212       
     213       
     214       
     215      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar string, for example 'GT 0.5'</i></font> 
     216      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>'NE'</i></font> 
     217       
     218    </h4> 
     219 
     220     
     221 a string describing the type of test that will be done to define the 
     222 mask. The test is performed on the variable specified by USEASMASK 
     223 keyword. 
     224 TESTOP can contain 1 or 2 words. The first word is the operator 
     225 definition: "EQ" "NE" "GE" "GT" "LE" "LT" (default is NE). The 
     226 second word define the testing value. If TESTOP contains only 1 
     227 word, then the test value is denifed by 
     228   1) MISSING_VALUE keyword 
     229   2) attribute missing_value or _fillvalue of the variable USEASMASK 
     230   3) !Values.f_nan (can be used only with NE and EQ operators) 
     231 
     232     
    206233    <a name="#_ncdf_getmask_keyword__EXTRA"></a> 
    207234    <h4>_EXTRA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     
    227254 IDL> mask = ncdf_getmask('meshmaskORCA2.nc', maskname = 'tmask') 
    228255 
     256 IDL> mask = ncdf_getmask('t106.nc', useasmask = 'SLM', testop = 'le 0.5') 
     257 
    229258    </pre><h3>Version history</h3> 
    230259     
    231260    <h4>Version</h4> 
    232  $Id: ncdf_getmask.pro 327 2007-12-13 16:22:35Z pinsard $ 
     261 $Id: ncdf_getmask.pro 361 2008-07-07 14:23:42Z smasson $ 
    233262 
    234263    <h4>History</h4> 
Note: See TracChangeset for help on using the changeset viewer.