- Timestamp:
- 07/29/08 15:31:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_assistant_output/ReadWrite/ncdf_getmask.html
r338 r363 74 74 </font></h2> 75 75 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> 77 77 78 78 … … 164 164 that will be used to build the land/sea mask. In this case the 165 165 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) 170 172 171 173 … … 183 185 184 186 185 To define (or redefine if the attribute is 186 already existing) the missing values used with USEASMASK187 keyword187 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. 188 190 189 191 … … 204 206 205 207 208 <a name="#_ncdf_getmask_keyword_TESTOP"></a> 209 <h4>TESTOP 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 206 233 <a name="#_ncdf_getmask_keyword__EXTRA"></a> 207 234 <h4>_EXTRA … … 227 254 IDL> mask = ncdf_getmask('meshmaskORCA2.nc', maskname = 'tmask') 228 255 256 IDL> mask = ncdf_getmask('t106.nc', useasmask = 'SLM', testop = 'le 0.5') 257 229 258 </pre><h3>Version history</h3> 230 259 231 260 <h4>Version</h4> 232 $Id: ncdf_getmask.pro 3 27 2007-12-13 16:22:35Z pinsard$261 $Id: ncdf_getmask.pro 361 2008-07-07 14:23:42Z smasson $ 233 262 234 263 <h4>History</h4>
Note: See TracChangeset
for help on using the changeset viewer.