- Timestamp:
- 07/29/08 15:31:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/ReadWrite/ncdf_getmask.html
r338 r363 109 109 110 110 <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> 112 112 113 113 <div class="comments"> … … 196 196 that will be used to build the land/sea mask. In this case the 197 197 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) 202 204 </div> 203 205 … … 214 216 215 217 <div class="comments"> 216 To define (or redefine if the attribute is 217 already existing) the missing values used with USEASMASK218 keyword218 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. 219 221 </div> 220 222 … … 234 236 </div> 235 237 238 <h4 id="_ncdf_getmask_keyword_TESTOP">TESTOP 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 236 262 <h4 id="_ncdf_getmask_keyword__EXTRA">_EXTRA 237 263 … … 255 281 256 282 IDL> mask = ncdf_getmask('meshmaskORCA2.nc', maskname = 'tmask') 283 284 IDL> mask = ncdf_getmask('t106.nc', useasmask = 'SLM', testop = 'le 0.5') 257 285 </div> 258 286 <h3>Version history</h3> 259 287 260 288 <h4>Version</h4><div class="preformat"> 261 $Id: ncdf_getmask.pro 3 27 2007-12-13 16:22:35Z pinsard$289 $Id: ncdf_getmask.pro 361 2008-07-07 14:23:42Z smasson $ 262 290 </div> 263 291 <h4>History</h4><div class="preformat"> … … 282 310 <h3>Statistics</h3> 283 311 <table class="statistics"> 284 <tr><td>McCabe cyclic</td><td> 24</td></tr>312 <tr><td>McCabe cyclic</td><td> 34</td></tr> 285 313 <tr><td>McCabe essential</td><td> 1</td></tr> 286 314 <tr><td>McCabe modular design</td><td> 1</td></tr>
Note: See TracChangeset
for help on using the changeset viewer.