Index: trunk/SRC/Documentation/idldoc_html_output/ReadWrite/ncdf_getmask.html
===================================================================
--- trunk/SRC/Documentation/idldoc_html_output/ReadWrite/ncdf_getmask.html	(revision 363)
+++ trunk/SRC/Documentation/idldoc_html_output/ReadWrite/ncdf_getmask.html	(revision 402)
@@ -109,5 +109,5 @@
 	
 	  <p class="header">
-	    <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>
+	    <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>
 	
 	  <div class="comments">
@@ -137,4 +137,5 @@
  the full path) to be opened (in that case, the file will be opened
  and closed within ncdf_getmask).
+
  if fileid is a scalar then it is the id of the file return by a call
  to ncdf_open outside of ncdf_getmask (in that case, the file will
@@ -161,5 +162,5 @@
 	
 	    <div class="comments">
- put 1 to apply add_offset ad scale factor on data before looking for
+ put 1 to apply add_offset and scale factor on data before looking for
  missing values when using USEASMASK keyword
 </div>
@@ -236,4 +237,103 @@
 </div>
 	    
+	    <h4 id="_ncdf_getmask_keyword_XMINMESH">XMINMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+	      
+	      
+	      
+  	      
+	      
+	      <span class="attr">type:</span> <span class="value">scalar</span>
+	      <span class="attr">default:</span> <span class="value">0L</span>
+	      
+	    </h4>
+	
+	    <div class="comments">
+       Define common (cm_4mesh) variables ixminmesh used to define the localization
+       of the first point of the grid along the x direction in a zoom of the original grid
+</div>
+	    
+	    <h4 id="_ncdf_getmask_keyword_XMAXMESH">XMAXMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+	      
+	      
+	      
+  	      
+	      
+	      <span class="attr">type:</span> <span class="value">scalar</span>
+	      <span class="attr">default:</span> <span class="value">jpiglo-1</span>
+	      
+	    </h4>
+	
+	    <div class="comments">
+       Define common (cm_4mesh) variables ixmaxmesh used to define the localization
+       of the last point of the grid along the x direction in a zoom of the original grid
+       Note that if XMAXMESH < 0 then ixmaxmesh is defined as ixmaxmesh = jpiglo -1 + xmaxmesh
+</div>
+	    
+	    <h4 id="_ncdf_getmask_keyword_YMINMESH">YMINMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+	      
+	      
+	      
+  	      
+	      
+	      <span class="attr">type:</span> <span class="value">scalar</span>
+	      <span class="attr">default:</span> <span class="value">0L</span>
+	      
+	    </h4>
+	
+	    <div class="comments">
+       Define common (cm_4mesh) variables iyminmesh used to define the localization
+       of the first point of the grid along the y direction in a zoom of the original grid
+</div>
+	    
+	    <h4 id="_ncdf_getmask_keyword_YMAXMESH">YMAXMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+	      
+	      
+	      
+  	      
+	      
+	      <span class="attr">type:</span> <span class="value">scalar</span>
+	      <span class="attr">default:</span> <span class="value">jpjglo-1</span>
+	      
+	    </h4>
+	
+	    <div class="comments">
+       Define common (cm_4mesh) variables iymaxmesh used to define the localization
+       of the last point of the grid along the y direction in a zoom of the original grid
+       Note that if YMAXMESH < 0 then iymaxmesh is defined as iymaxmesh = jpjglo -1 + ymaxmesh
+</div>
+	    
+	    <h4 id="_ncdf_getmask_keyword_ZMINMESH">ZMINMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+	      
+	      
+	      
+  	      
+	      
+	      <span class="attr">type:</span> <span class="value">scalar</span>
+	      <span class="attr">default:</span> <span class="value">0L</span>
+	      
+	    </h4>
+	
+	    <div class="comments">
+       Define common (cm_4mesh) variables izminmesh used to define the localization
+       of the first point of the grid along the z direction in a zoom of the original grid
+</div>
+	    
+	    <h4 id="_ncdf_getmask_keyword_ZMAXMESH">ZMAXMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+	      
+	      
+	      
+  	      
+	      
+	      <span class="attr">type:</span> <span class="value">scalar</span>
+	      <span class="attr">default:</span> <span class="value">jpkglo-1</span>
+	      
+	    </h4>
+	
+	    <div class="comments">
+       Define common (cm_4mesh) variables izmaxmesh used to define the localization
+       of the last point of the grid along the z direction in a zoom of the original grid
+       Note that if ZMAXMESH < 0 then izmaxmesh is defined as izmaxmesh = jpkglo -1 + maxmesh
+</div>
+	    
 	    <h4 id="_ncdf_getmask_keyword_TESTOP">TESTOP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 	      
@@ -251,4 +351,5 @@
  mask. The test is performed on the variable specified by USEASMASK
  keyword.
+
  TESTOP can contain 1 or 2 words. The first word is the operator
  definition: "EQ" "NE" "GE" "GT" "LE" "LT" (default is NE). The
@@ -278,14 +379,14 @@
 	  <h3>Examples</h3><div class="preformat">
 
- IDL> mask = ncdf_getmask('HadISST1_1m_187001_200702_sst_reg1m.nc',useasmask = 'sst', missing_value = -1.00000e+30)
-
- IDL> mask = ncdf_getmask('meshmaskORCA2.nc', maskname = 'tmask')
-
- IDL> mask = ncdf_getmask('t106.nc', useasmask = 'SLM', testop = 'le 0.5')
+   IDL> mask = ncdf_getmask('HadISST1_1m_187001_200702_sst_reg1m.nc',useasmask = 'sst', missing_value = -1.00000e+30)
+
+   IDL> mask = ncdf_getmask('meshmaskORCA2.nc', maskname = 'tmask')
+
+   IDL> mask = ncdf_getmask('t106.nc', useasmask = 'SLM', testop = 'le 0.5')
 </div>
 	  <h3>Version history</h3>
 	  
 	  <h4>Version</h4><div class="preformat">
- $Id: ncdf_getmask.pro 361 2008-07-07 14:23:42Z smasson $
+ $Id: ncdf_getmask.pro 399 2009-07-02 08:38:54Z smasson $
 </div>
 	  <h4>History</h4><div class="preformat">
@@ -310,7 +411,7 @@
 	  <h3>Statistics</h3>
 	  <table class="statistics">
-	    <tr><td>McCabe cyclic</td><td>          34</td></tr>
-	    <tr><td>McCabe essential</td><td>           1</td></tr>
-	    <tr><td>McCabe modular design</td><td>           1</td></tr>
+	    <tr><td>McCabe cyclic</td><td>          43</td></tr>
+	    <tr><td>McCabe essential</td><td>           5</td></tr>
+	    <tr><td>McCabe modular design</td><td>           5</td></tr>
 	  </table>
 	  
