Index: trunk/SRC/Documentation/idldoc_assistant_output/Grid/computegrid.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/Grid/computegrid.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/Grid/computegrid.html	(revision 195)
@@ -66,4 +66,45 @@
 
  domains sizes:
+ ---------------
+ jpi, jpj, jpk, jpiglo, jpjglo, jpkglo, jpidta, jpjdta, jpkdta
+
+ domains positions regarding to the original grid:
+ --------------------------------------------------
+ ixminmesh, ixmaxmesh, iyminmesh, iymaxmesh, izminmesh, izmaxmesh
+ ixmindta, ixmaxdta, iymindta, iymaxdta, izmindta, izmaxdta
+
+ horizontal parameters:
+ ----------------------
+ glamt, glamf, gphit, gphit, e1t, e2t
+
+ additional horizontal parameters if FULLCGRID keyword is defined:
+ -----------------------------------------------------------------
+ glamu, glamv, gphiu, gphiv, e1u, e1v, e1f, e2u, e2v, e2f
+
+ verticals parameters:
+ ---------------------
+ gdept, gdepw, e3t, e3w
+
+ masks:
+ ------
+ tmask
+
+ additional masks if FULLCGRID keyword is defined:
+ -------------------------------------------------
+ umaskred, vmaskred, fmaskredx, fmaskredy
+
+ triangles_list:
+ ---------------
+ triangulation
+
+ key_* variables:
+ ----------------
+ key_onearth, key_periodic, key_shift, key_stride, key_partialstep,
+ key_yreverse, key_zreverse, key_gridtype
+
+ xxx related variables:
+ ----------------------
+ ccmeshparameters, ccreadparameters
+
 
     
@@ -72,7 +113,9 @@
       <a name="#_computegrid"></a>
 
-      <h2>computegrid  </h2>
-
-      <p><font face="Courier">computegrid<i>, <a href="#_computegrid_keyword_startx">startx</a>, <a href="#_computegrid_keyword_starty">starty</a>, <a href="#_computegrid_keyword_stepxin">stepxin</a>, <a href="#_computegrid_keyword_stepyin">stepyin</a>, <a href="#_computegrid_keyword_nxin">nxin</a>, <a href="#_computegrid_keyword_nyin">nyin</a></i>, <a href="#_computegrid_keyword_XAXIS">XAXIS</a>=<i>XAXIS</i>, <a href="#_computegrid_keyword_YAXIS">YAXIS</a>=<i>YAXIS</i>, <a href="#_computegrid_keyword_ZAXIS">ZAXIS</a>=<i>ZAXIS</i>, <a href="#_computegrid_keyword_MASK">MASK</a>=<i>MASK</i>, <a href="#_computegrid_keyword_GLAMBOUNDARY">GLAMBOUNDARY</a>=<i>GLAMBOUNDARY</i>, <a href="#_computegrid_keyword_XMINMESH">XMINMESH</a>=<i>XMINMESH</i>, <a href="#_computegrid_keyword_XMAXMESH">XMAXMESH</a>=<i>XMAXMESH</i>, <a href="#_computegrid_keyword_YMINMESH">YMINMESH</a>=<i>YMINMESH</i>, <a href="#_computegrid_keyword_YMAXMESH">YMAXMESH</a>=<i>YMAXMESH</i>, <a href="#_computegrid_keyword_ZMINMESH">ZMINMESH</a>=<i>ZMINMESH</i>, <a href="#_computegrid_keyword_ZMAXMESH">ZMAXMESH</a>=<i>ZMAXMESH</i>, <a href="#_computegrid_keyword_ONEARTH">ONEARTH</a>=<i>ONEARTH</i>, <a href="#_computegrid_keyword_PERIODIC">PERIODIC</a>=<i>PERIODIC</i>, <a href="#_computegrid_keyword_PLAIN">PLAIN</a>=<i>PLAIN</i>, <a href="#_computegrid_keyword_SHIFT">SHIFT</a>=<i>SHIFT</i>, <a href="#_computegrid_keyword_STRIDE">STRIDE</a>=<i>STRIDE</i>, <a href="#_computegrid_keyword_FULLCGRID">FULLCGRID</a>=<i>FULLCGRID</i>, <a href="#_computegrid_keyword_XYINDEX">XYINDEX</a>=<i>XYINDEX</i>, <a href="#_computegrid_keyword_FBASE2TBASE">FBASE2TBASE</a>=<i>FBASE2TBASE</i>, <a href="#_computegrid_keyword_STRCALLING">STRCALLING</a>=<i>STRCALLING</i>, <a href="#_computegrid_keyword_ROMSH">ROMSH</a>=<i>ROMSH</i>, <a href="#_computegrid_keyword__extra">_extra</a>=<i>_extra</i></font></p>
+      <h2>computegrid  <font size="-1" color="#006633"> 
+ Grid
+</font></h2>
+
+      <p><font face="Courier">computegrid<i>[, <a href="#_computegrid_keyword_startx">startx</a>][, <a href="#_computegrid_keyword_starty">starty</a>][, <a href="#_computegrid_keyword_stepxin">stepxin</a>][, <a href="#_computegrid_keyword_stepyin">stepyin</a>][, <a href="#_computegrid_keyword_nxin">nxin</a>][, <a href="#_computegrid_keyword_nyin">nyin</a>]</i>, <a href="#_computegrid_keyword_XAXIS">XAXIS</a>=<i>1D or 2D array</i>, <a href="#_computegrid_keyword_YAXIS">YAXIS</a>=<i>1D or 2D array</i>, <a href="#_computegrid_keyword_ZAXIS">ZAXIS</a>=<i>1D</i>, <a href="#_computegrid_keyword_MASK">MASK</a>=<i>2D or 3D array</i>, <a href="#_computegrid_keyword_GLAMBOUNDARY">GLAMBOUNDARY</a>=<i>2 elements vector</i>, <a href="#_computegrid_keyword_XMINMESH">XMINMESH</a>=<i>scalar</i>, <a href="#_computegrid_keyword_XMAXMESH">XMAXMESH</a>=<i>scalar</i>, <a href="#_computegrid_keyword_YMINMESH">YMINMESH</a>=<i>scalar</i>, <a href="#_computegrid_keyword_YMAXMESH">YMAXMESH</a>=<i>scalar</i>, <a href="#_computegrid_keyword_ZMINMESH">ZMINMESH</a>=<i>scalar</i>, <a href="#_computegrid_keyword_ZMAXMESH">ZMAXMESH</a>=<i>scalar</i>, <a href="#_computegrid_keyword_ONEARTH">ONEARTH</a>=<i>scalar: 0 or 1</i>, <a href="#_computegrid_keyword_PERIODIC">PERIODIC</a>=<i>scalar: 0 or 1</i>, <a href="#_computegrid_keyword_PLAIN">PLAIN</a>=<i>scalar: 0 or 1</i>, <a href="#_computegrid_keyword_SHIFT">SHIFT</a>=<i>scalar</i>, <a href="#_computegrid_keyword_STRIDE">STRIDE</a>=<i>3 elements vector</i>, <a href="#_computegrid_keyword_FULLCGRID">FULLCGRID</a>=<i>scalar: 0 or 1</i>, <a href="#_computegrid_keyword_XYINDEX">XYINDEX</a>=<i>XYINDEX</i>, <a href="#_computegrid_keyword_FBASE2TBASE">FBASE2TBASE</a>=<i>FBASE2TBASE</i>, <a href="#_computegrid_keyword_STRCALLING">STRCALLING</a>=<i>scalar string</i>, <a href="#_computegrid_keyword_ROMSH">ROMSH</a>=<i>2D array</i>, <a href="#_computegrid_keyword__extra">_extra</a>=<i>_extra</i></font></p>
 
     
@@ -87,90 +130,107 @@
     <a name="#_computegrid_keyword_startx"></a>
     <h4>startx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      
-      
-      
-      
-      
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">in</font>
+      
+      <font size="-1" color="#006633">optional</font>
+      
+      
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar</i></font>
+      
+      
+    </h4>
+
+    
+       x starting point, optional if [XY]AXIS keyword is used
+
     
 
     <a name="#_computegrid_keyword_starty"></a>
     <h4>starty&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      
-      
-      
-      
-      
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">in</font>
+      
+      <font size="-1" color="#006633">optional</font>
+      
+      
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar</i></font>
+      
+      
+    </h4>
+
+    
+       y starting point, optional if [XY]AXIS keyword is used
+
     
 
     <a name="#_computegrid_keyword_stepxin"></a>
     <h4>stepxin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      
-      
-      
-      
-      
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">in</font>
+      
+      <font size="-1" color="#006633">optional</font>
+      
+      
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar or vector</i></font>
+      
+      
+    </h4>
+
+    
+       x direction step, optional if [XY]AXIS keyword is used, must be > 0
+       if stepxin is a vector nx is not used
+
     
 
     <a name="#_computegrid_keyword_stepyin"></a>
     <h4>stepyin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      
-      
-      
-      
-      
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">in</font>
+      
+      <font size="-1" color="#006633">optional</font>
+      
+      
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar or vector</i></font>
+      
+      
+    </h4>
+
+    
+       y direction step, optional if [XY]AXIS keyword is used,
+       could be > 0 (south to north) or < 0 (north to south)
+       if stepyin is a vector ny is not used
+
     
 
     <a name="#_computegrid_keyword_nxin"></a>
     <h4>nxin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      
-      
-      
-      
-      
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">in</font>
+      
+      <font size="-1" color="#006633">optional</font>
+      
+      
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar</i></font>
+      
+      
+    </h4>
+
+    
+       number of points in x direction,
+       optional if [XY]AXIS keyword is used or stepxin is a vector
+
     
 
     <a name="#_computegrid_keyword_nyin"></a>
     <h4>nyin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      
-      
-      
-      
-      
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">in</font>
+      
+      <font size="-1" color="#006633">optional</font>
+      
+      
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar</i></font>
+      
+      
+    </h4>
+
+     
+       number of points in y direction,
+       optional if [XY]AXIS keyword is used or stepyin is a vector
+
     
     
@@ -187,10 +247,15 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>1D or 2D array</i></font>
+      
+      
+    </h4>
+
+    
+       Specify longitudes in this case startx, stepx and nx are not used but
+       could be necessary if the y axis is not defined with yaxis. It must be
+       possible to sort the first line of xaxis in the increasing order by
+       shifting its elements.
+
     
     <a name="#_computegrid_keyword_YAXIS"></a>
@@ -201,10 +266,14 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>1D or 2D array</i></font>
+      
+      
+    </h4>
+
+    
+       Specify latitudes in this case starty, stepy and ny are not used but
+       starty and stepy could be necessary if the x axis is not defined with
+       xaxis. It must be sorted in the increasing or deceasing order (along each column if 2d array).
+
     
     <a name="#_computegrid_keyword_ZAXIS"></a>
@@ -215,10 +284,12 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>1D</i></font>
+      
+      
+    </h4>
+
+    
+       Specify the vertical axis. Must be sorted in the increasing or deceasing order
+
     
     <a name="#_computegrid_keyword_MASK"></a>
@@ -229,10 +300,12 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>2D or 3D array</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>array of 1</i></font>
+      
+    </h4>
+
+    
+       Specify the land(0)/sea(1) mask
+
     
     <a name="#_computegrid_keyword_GLAMBOUNDARY"></a>
@@ -243,10 +316,16 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>2 elements vector</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>those defined in the file</i></font>
+      
+    </h4>
+
+    
+       Longitude boundaries that should be used to visualize the data.
+         lon2 > lon1
+         lon2 - lon1 le 360
+       By default, the common (cm_4mesh) variable key_shift will be automatically
+       defined according to GLAMBOUNDARY.
+
     
     <a name="#_computegrid_keyword_XMINMESH"></a>
@@ -257,10 +336,13 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>0L</i></font>
+      
+    </h4>
+
+    
+       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
+
     
     <a name="#_computegrid_keyword_XMAXMESH"></a>
@@ -271,10 +353,14 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>jpiglo-1</i></font>
+      
+    </h4>
+
+    
+       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
+
     
     <a name="#_computegrid_keyword_YMINMESH"></a>
@@ -285,10 +371,13 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>0L</i></font>
+      
+    </h4>
+
+    
+       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
+
     
     <a name="#_computegrid_keyword_YMAXMESH"></a>
@@ -299,10 +388,14 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>jpjglo-1</i></font>
+      
+    </h4>
+
+    
+       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
+
     
     <a name="#_computegrid_keyword_ZMINMESH"></a>
@@ -313,10 +406,13 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>0L</i></font>
+      
+    </h4>
+
+    
+       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
+
     
     <a name="#_computegrid_keyword_ZMAXMESH"></a>
@@ -327,10 +423,14 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>jpkglo-1</i></font>
+      
+    </h4>
+
+    
+       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
+
     
     <a name="#_computegrid_keyword_ONEARTH"></a>
@@ -341,10 +441,17 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar: 0 or 1</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>1</i></font>
+      
+    </h4>
+
+    
+       Force the manual definition of data localization on the earth or not
+          0) if the data are not on the earth
+          1) if the data are on earth (in that case we can for example use
+             the labels 'longitude', 'latitude' in plots).
+       The resulting value will be stored in the common (cm_4mesh) variable key_onearth
+       ONEARTH = 0 forces PERIODIC = 0, SHIFT = 0 and is cancelling GLAMBOUNDARY
+
     
     <a name="#_computegrid_keyword_PERIODIC"></a>
@@ -355,10 +462,14 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar: 0 or 1</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>computed by using the first line of glamt</i></font>
+      
+    </h4>
+
+    
+       Force the manual definition of the grid zonal periodicity.
+       The resulting value will be stored in the common (cm_4mesh) variable key_periodic
+       PERIODIC = 0 forces SHIFT = 0
+
     
     <a name="#_computegrid_keyword_PLAIN"></a>
@@ -369,10 +480,15 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar: 0 or 1</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>0</i></font>
+      
+    </h4>
+
+    
+       Force PERIODIC = 0, SHIFT = 0, STRIDE = [1, 1, 1] and
+       suppress the automatic redefinition of the domain in case of
+       x periodicity overlap, y periodicity overlap (ORCA type only)
+       and mask border to 0.
+
     
     <a name="#_computegrid_keyword_SHIFT"></a>
@@ -383,10 +499,14 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>computed according to glamboundary</i></font>
+      
+    </h4>
+
+    
+       Force the manual definition of the zonal shift that must be apply to the data. 
+       The resulting value will be stored in the common (cm_4mesh) variable key_shift
+       Note that if key_periodic=0 then in any case key_shift = 0.
+
     
     <a name="#_computegrid_keyword_STRIDE"></a>
@@ -397,10 +517,13 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>3 elements vector</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>[1, 1, 1]</i></font>
+      
+    </h4>
+
+    
+       Specify the stride in x, y and z direction. The resulting
+       value will be stored in the common (cm_4mesh) variable key_stride
+
     
     <a name="#_computegrid_keyword_FULLCGRID"></a>
@@ -411,10 +534,14 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar: 0 or 1</i></font>
+      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>0</i></font>
+      
+    </h4>
+
+    
+       Activate to specify that you want to compute all the C grid parameters:
+       definition of glam[uv], gphi[uv], e1[uvf], e2[uvf], [uv]maskred and
+       fmaskred[xy] will be add to the default computations
+
     
     <a name="#_computegrid_keyword_XYINDEX"></a>
@@ -430,5 +557,9 @@
     </h4>
 
-    
+     activate to specify that the horizontal grid should
+       be simply defined by using the index of the points
+          (xaxis = findgen(nx) and yaxis = findgen(ny))
+       using this keyword forces key_onearth=0
+
     
     <a name="#_computegrid_keyword_FBASE2TBASE"></a>
@@ -445,4 +576,13 @@
 
     
+       Activate when the model is a C grid based on a F point
+       (with a F point at the bottom-left corner and a T point at the
+       upper-right corner). In this case, we ignore 
+         - the first line of F and U points
+         - the first column of F and V points
+         - the last line of T and U points
+         - the last column of T and V points.
+      => we are back to a C grid based on T point as for OPA model.
+
     
     <a name="#_computegrid_keyword_STRCALLING"></a>
@@ -453,10 +593,16 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar string</i></font>
+      
+      
+    </h4>
+
+    
+       a string containing the calling command used to
+       call computegrid (this is used by xxx.pro)
+
+
+       Used by xxx...
+
     
     <a name="#_computegrid_keyword_ROMSH"></a>
@@ -467,10 +613,20 @@
       
       
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>2D array</i></font>
+      
+      
+    </h4>
+
+    
+       This array is the final bathymetry at RHO-points. It is stored in the common
+       variable (cm_4mesh) romszinfos.h
+       Used when the model is a ROMS C-grid with one more point
+       in longitude for T and V grid and one more point in latitude
+       for T and U grid. In this case, we ignore 
+         - the last line of T and U points
+         - the last column of T and V points.
+      => we are back to a C grid based on T point as for OPA model.
+       Note that activate ROMSH forces FULLCGRID=1
+
     
     <a name="#_computegrid_keyword__extra"></a>
@@ -486,25 +642,42 @@
     </h4>
 
-    
-    
-    
-
-    
-    
-    
-    
-    
-    
-
-    
-    
-    
-    
-    
-
-    
-    
-    
-    
+     
+    (not used in the present case...)
+
+    
+    
+
+    
+    <h3>Version history</h3>
+    
+    <h4>Version</h4> $Id: computegrid.pro 192 2006-09-22 09:37:08Z smasson $
+
+    <h4>History</h4> Sebastien Masson (smasson@lodyc.jussieu.fr)
+                      2000-04-20
+  Sept 2004, several bug fixs to suit C grid type...
+  Aug 2005, rewritte almost everything...
+
+    
+
+    <h3>Known issues</h3>
+    
+    
+    
+    <h4>Restrictions</h4> if the grid has x/y periodicity orverlap and/or if
+    the mask has 0 everywhere at the border (like a close sea) and
+    if (we did not activate /plain and xminmesh, xmaxmesh, yminmesh,
+    ymaxmesh keywords are defined to their default values), we redefine
+    xminmesh, xmaxmesh, yminmesh, ymaxmesh in order to reove the
+    overlapping part and/or to open the domain (avoid ti be forced
+    to use cell_fill = 1).
+
+ FUV points definition is not exact if the grid is irregular
+
+
+    <h3>Other attributes</h3>
+    
+    
+    <h4>Uses routines</h4> cm_4mesh cm_4data cm_4cal
+
     
     
Index: trunk/SRC/Documentation/idldoc_assistant_output/Grid/romsdepth.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/Grid/romsdepth.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/Grid/romsdepth.html	(revision 195)
@@ -91,5 +91,5 @@
     
     <h4>Version</h4>
- $Id: romsdepth.pro 172 2006-09-11 07:11:26Z smasson $
+ $Id: romsdepth.pro 192 2006-09-22 09:37:08Z smasson $
     <h4>History</h4> 
  Sept 2006 Sebastien Masson (smasson@lodyc.jussieu.fr)
Index: trunk/SRC/Documentation/idldoc_assistant_output/Obsolete/directory-overview.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/Obsolete/directory-overview.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/Obsolete/directory-overview.html	(revision 195)
@@ -40,4 +40,5 @@
 	<li><a href="nlecsaison.html" target="file_frame">nlecsaison.pro</a></li>
 	<li><a href="nlecserie.html" target="file_frame">nlecserie.pro</a></li>
+	<li><a href="strrepl.html" target="file_frame">strrepl.pro</a></li>
 	<li><a href="vairdate.html" target="file_frame">vairdate.pro</a></li>
 	<li><a href="vraidate.html" target="file_frame">vraidate.pro</a></li>
@@ -45,5 +46,5 @@
       </ul>
 
-      <div id="tagline">22 files</div>
+      <div id="tagline">23 files</div>
       
 
Index: trunk/SRC/Documentation/idldoc_assistant_output/Obsolete/nlecserie.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/Obsolete/nlecserie.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/Obsolete/nlecserie.html	(revision 195)
@@ -50,5 +50,5 @@
 <font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../home.html">Overview</a></font></td>
     <td width="10%" align="right">
-<a href="vairdate.html"><img src="./../next.gif" border="0" alt="Next"></a></td>
+<a href="strrepl.html"><img src="./../next.gif" border="0" alt="Next"></a></td>
   </tr>
 </table>
Index: trunk/SRC/Documentation/idldoc_assistant_output/Obsolete/strrepl.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/Obsolete/strrepl.html	(revision 195)
+++ trunk/SRC/Documentation/idldoc_assistant_output/Obsolete/strrepl.html	(revision 195)
@@ -0,0 +1,203 @@
+
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <title>strrepl.pro (SAXO Documentation Assistant)</title>
+  </head>
+
+  <body text="#000000" bgcolor="#FFFFFF">
+
+    
+<!-- Navbar template takes a structure with the following fields:
+       overview_href :
+       overview_selected :
+       dir_overview_href :
+       dir_overview_selected :
+       categories_href :
+       categories_selected :
+       index_href :
+       index_selected :
+       search_href :
+       search_selected :
+       file_selected :
+       source_href :
+       source_selected :
+       help_href :
+       help_selected :
+       etc_selected :
+
+       prev_file_href :
+       next_file_href :
+
+       view_single_page_href :
+       view_frames_href :
+
+       summary_fields_href :
+       summary_routine_href :
+       details_routine_href :
+
+       title :
+       subtitle :
+       user :
+-->
+
+
+<table border="0" cellpadding="0" cellspacing="0" width="98%" bgcolor="#F0F0FF" valign="bottom">
+  <tr>
+    <td width="10%">
+<a href="nlecserie.html"><img src="./../prev.gif" border="0" alt="Previous"></a></td>
+    <td width="80%" align="center" valign="center">
+<font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../home.html">Overview</a></font></td>
+    <td width="10%" align="right">
+<a href="vairdate.html"><img src="./../next.gif" border="0" alt="Next"></a></td>
+  </tr>
+</table>
+
+
+    <h1><font size="-2">Obsolete/</font></h1>
+    <h2>strrepl.pro</h2>
+
+    <dl>
+    </dl>
+
+     
+ replace one (or more) character(s)/string(s) in a string
+ --- OBSOLETE --- you should better use strsed.pro
+
+
+    
+
+      
+      <a name="#_strrepl"></a>
+
+      <h2>strrepl  <font size="-1" color="#006633">
+ String
+</font></h2>
+
+      <p><font face="Courier"><i>result = </i>strrepl(<i><a href="#_strrepl_keyword_str">str</a>, <a href="#_strrepl_keyword_arg2">arg2</a>, <a href="#_strrepl_keyword_rchar">rchar</a></i>)</font></p>
+
+    
+
+
+    <h3>Return value</h3>
+ another string
+
+
+    
+    <h3>Parameters</h3>
+    
+
+    <a name="#_strrepl_keyword_str"></a>
+    <h4>str&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+      <font size="-1" color="#006633">in</font>
+      
+      
+      <font size="-1" color="#006633">required</font>
+      
+      
+      
+      
+    </h4>
+
+    
+ the string to be changed
+
+    
+
+    <a name="#_strrepl_keyword_arg2"></a>
+    <h4>arg2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+      <font size="-1" color="#006633">in</font>
+      
+      
+      <font size="-1" color="#006633">required</font>
+      
+      
+      
+      
+    </h4>
+
+    
+ position of the character(s) to be replaced or a string to be changed in STR.
+
+    
+
+    <a name="#_strrepl_keyword_rchar"></a>
+    <h4>rchar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+      <font size="-1" color="#006633">in</font>
+      
+      
+      <font size="-1" color="#006633">required</font>
+      
+      
+      
+      
+    </h4>
+
+    
+ replacement character/string
+
+    
+    
+
+    
+
+    <h3>Examples</h3>
+        ; Convert one letter into upper case
+
+        abc = 'abcdefghijklmnopqrstuvwxyz'
+        print,strrepl(abc,strpos(abc,'m'),'M')
+
+        ; prints "abcdefghijklMnopqrstuvwxyz"
+
+
+        ; Use with strwhere function
+        a = 'abcabcabc'
+        print,strrepl(a,strwhere(a,'a'),'#')
+
+        ; prints  "#bc#bc#bc#bc#bc"
+
+       IDL> print, strrepl(a,'bc','!eeee!')
+       a!eeee!a!eeee!a!eeee!
+       IDL> print, strrepl(a,'b','0000')
+       a0000ca0000ca0000
+       IDL> print, strrepl(a,'toto','0000')
+       abcabcabc
+
+    <h3>Version history</h3>
+    
+    <h4>Version</h4>
+ $Id: strrepl.pro 192 2006-09-22 09:37:08Z smasson $
+
+    <h4>History</h4>
+        mgs, 02 Jun 1998: VERSION 1.00
+        sebastien Masson (smlod@ipsl.jussieu.fr)
+
+    
+
+    <h3>Known issues</h3>
+    
+    
+    
+    <h4>Restrictions</h4> 
+ Known shortcoming: if index is an array, it must contain all
+ valid elements (only the first entry is checked).
+
+
+    
+    
+    
+    
+    
+    
+    
+
+    <font size="-3"><p>&nbsp;</p></font>
+    <hr size="1" color="#CCCCCC"/>
+      
+
+    
+
+    <p><font color="gray" size="-3">&nbsp;&nbsp;Produced by IDLdoc 2.0.</font></p>
+
+  </body>
+</html>
Index: trunk/SRC/Documentation/idldoc_assistant_output/Obsolete/vairdate.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/Obsolete/vairdate.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/Obsolete/vairdate.html	(revision 195)
@@ -46,5 +46,5 @@
   <tr>
     <td width="10%">
-<a href="nlecserie.html"><img src="./../prev.gif" border="0" alt="Previous"></a></td>
+<a href="strrepl.html"><img src="./../prev.gif" border="0" alt="Previous"></a></td>
     <td width="80%" align="center" valign="center">
 <font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../home.html">Overview</a></font></td>
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/INIT/initncdf.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/INIT/initncdf.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/INIT/initncdf.html	(revision 195)
@@ -310,5 +310,5 @@
     
     <h4>Version</h4>
- $Id: initncdf.pro 172 2006-09-11 07:11:26Z smasson $
+ $Id: initncdf.pro 192 2006-09-22 09:37:08Z smasson $
 
     <h4>History</h4>
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/LECTURE/read_ncdf.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/LECTURE/read_ncdf.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/LECTURE/read_ncdf.html	(revision 195)
@@ -80,5 +80,5 @@
  </font></h2>
 
-      <p><font face="Courier"><i>result = </i>read_ncdf(<i><a href="#_read_ncdf_keyword_name">name</a>, <a href="#_read_ncdf_keyword_beginning">beginning</a>, <a href="#_read_ncdf_keyword_ending">ending</a>[, <a href="#_read_ncdf_keyword_compatibility">compatibility</a>]</i>, <a href="#_read_ncdf_keyword_BOXZOOM">BOXZOOM</a>=<i>BOXZOOM</i>, <a href="#_read_ncdf_keyword_FILENAME">FILENAME</a>=<i>string</i>, <a href="#_read_ncdf_keyword_PARENTIN">PARENTIN</a>=<i>PARENTIN</i>, <a href="#_read_ncdf_keyword_TIMESTEP">TIMESTEP</a>=<i>scalar: 0 or 1</i>, <a href="#_read_ncdf_keyword_TIMEVAR">TIMEVAR</a>=<i>string</i>, <a href="#_read_ncdf_keyword_TOUT">TOUT</a>=<i>scalar: 0 or 1</i>, <a href="#_read_ncdf_keyword_NOSTRUCT">NOSTRUCT</a>=<i>scalar: 0 or 1</i>, <a href="#_read_ncdf_keyword_CONT_NOFILL">CONT_NOFILL</a>=<i>CONT_NOFILL</i>, <a href="#_read_ncdf_keyword_INIT">INIT</a>=<i>scalar: 0 or 1</i>, <a href="#_read_ncdf_keyword_GRID">GRID</a>=<i>GRID</i>, <a href="#_read_ncdf_keyword_FBASE2TBASE">FBASE2TBASE</a>=<i>FBASE2TBASE</i>, <a href="#_read_ncdf_keyword_CALLITSELF">CALLITSELF</a>=<i>scalar: 0 or 1</i>, <a href="#_read_ncdf_keyword_HFILENAME">HFILENAME</a>=<i>string</i>, <a href="#_read_ncdf_keyword_ZETAFILENAME">ZETAFILENAME</a>=<i>string</i>, <a href="#_read_ncdf_keyword_ZETAZERO">ZETAZERO</a>=<i>scalar: 0 or 1</i>, <a href="#_read_ncdf_keyword__EXTRA">_EXTRA</a>=<i>_EXTRA</i>)</font></p>
+      <p><font face="Courier"><i>result = </i>read_ncdf(<i><a href="#_read_ncdf_keyword_name">name</a>, <a href="#_read_ncdf_keyword_beginning">beginning</a>, <a href="#_read_ncdf_keyword_ending">ending</a>[, <a href="#_read_ncdf_keyword_compatibility">compatibility</a>]</i>, <a href="#_read_ncdf_keyword_BOXZOOM">BOXZOOM</a>=<i>BOXZOOM</i>, <a href="#_read_ncdf_keyword_FILENAME">FILENAME</a>=<i>string</i>, <a href="#_read_ncdf_keyword_PARENTIN">PARENTIN</a>=<i>PARENTIN</i>, <a href="#_read_ncdf_keyword_TIMESTEP">TIMESTEP</a>=<i>scalar: 0 or 1</i>, <a href="#_read_ncdf_keyword_TIMEVAR">TIMEVAR</a>=<i>string</i>, <a href="#_read_ncdf_keyword_TOUT">TOUT</a>=<i>scalar: 0 or 1</i>, <a href="#_read_ncdf_keyword_NOSTRUCT">NOSTRUCT</a>=<i>scalar: 0 or 1</i>, <a href="#_read_ncdf_keyword_CONT_NOFILL">CONT_NOFILL</a>=<i>CONT_NOFILL</i>, <a href="#_read_ncdf_keyword_INIT">INIT</a>=<i>scalar: 0 or 1</i>, <a href="#_read_ncdf_keyword_GRID">GRID</a>=<i>GRID</i>, <a href="#_read_ncdf_keyword_FBASE2TBASE">FBASE2TBASE</a>=<i>FBASE2TBASE</i>, <a href="#_read_ncdf_keyword_CALLITSELF">CALLITSELF</a>=<i>scalar: 0 or 1</i>, <a href="#_read_ncdf_keyword_ZETAFILENAME">ZETAFILENAME</a>=<i>string</i>, <a href="#_read_ncdf_keyword_ZETAZERO">ZETAZERO</a>=<i>scalar: 0 or 1</i>, <a href="#_read_ncdf_keyword__EXTRA">_EXTRA</a>=<i>_EXTRA</i>)</font></p>
 
     
@@ -367,6 +367,6 @@
  
     
-    <a name="#_read_ncdf_keyword_HFILENAME"></a>
-    <h4>HFILENAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+    <a name="#_read_ncdf_keyword_ZETAFILENAME"></a>
+    <h4>ZETAFILENAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       
       
@@ -380,20 +380,4 @@
 
     
- For ROMS outputs. The filename of the file where h vriable should be read
-
-    
-    <a name="#_read_ncdf_keyword_ZETAFILENAME"></a>
-    <h4>ZETAFILENAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      
-      
-      
-      
-      
-      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>string</i></font>
-      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>FILENAME</i></font>
-      
-    </h4>
-
-    
  For ROMS outputs. The filename of the file where zeta vriable should be read
 
@@ -437,5 +421,5 @@
     
     <h4>Version</h4>
- $Id: read_ncdf.pro 181 2006-09-15 08:24:36Z smasson $ 
+ $Id: read_ncdf.pro 192 2006-09-22 09:37:08Z smasson $ 
     <h4>History</h4>
  Sebastien Masson (smasson@lodyc.jussieu.fr)
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/PLOTS/DESSINE/pltt.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/PLOTS/DESSINE/pltt.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/PLOTS/DESSINE/pltt.html	(revision 195)
@@ -738,5 +738,5 @@
     
     <h4>Version</h4> 
- $Id: pltt.pro 172 2006-09-11 07:11:26Z smasson $
+ $Id: pltt.pro 192 2006-09-22 09:37:08Z smasson $
 
     <h4>History</h4> 
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/directory-overview.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/directory-overview.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/directory-overview.html	(revision 195)
@@ -32,7 +32,7 @@
 	<li><a href="string2struct.html" target="file_frame">string2struct.pro</a></li>
 	<li><a href="strkeywd.html" target="file_frame">strkeywd.pro</a></li>
-	<li><a href="strrepl.html" target="file_frame">strrepl.pro</a></li>
 	<li><a href="strright.html" target="file_frame">strright.pro</a></li>
 	<li><a href="strsci.html" target="file_frame">strsci.pro</a></li>
+	<li><a href="strsed.html" target="file_frame">strsed.pro</a></li>
 	<li><a href="strtok.html" target="file_frame">strtok.pro</a></li>
 	<li><a href="strwhere.html" target="file_frame">strwhere.pro</a></li>
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/getfile.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/getfile.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/getfile.html	(revision 195)
@@ -195,5 +195,5 @@
     
     <h4>Version</h4>
- $Id: getfile.pro 163 2006-08-29 12:59:46Z navarro $
+ $Id: getfile.pro 192 2006-09-22 09:37:08Z smasson $
 
     <h4>History</h4>
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strkeywd.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strkeywd.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strkeywd.html	(revision 195)
@@ -50,5 +50,5 @@
 <font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../../home.html">Overview</a></font></td>
     <td width="10%" align="right">
-<a href="strrepl.html"><img src="./../../next.gif" border="0" alt="Next"></a></td>
+<a href="strright.html"><img src="./../../next.gif" border="0" alt="Next"></a></td>
   </tr>
 </table>
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strrepl.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strrepl.html	(revision 191)
+++ 	(revision )
@@ -1,200 +1,0 @@
-
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-  <head>
-    <title>strrepl.pro (SAXO Documentation Assistant)</title>
-  </head>
-
-  <body text="#000000" bgcolor="#FFFFFF">
-
-    
-<!-- Navbar template takes a structure with the following fields:
-       overview_href :
-       overview_selected :
-       dir_overview_href :
-       dir_overview_selected :
-       categories_href :
-       categories_selected :
-       index_href :
-       index_selected :
-       search_href :
-       search_selected :
-       file_selected :
-       source_href :
-       source_selected :
-       help_href :
-       help_selected :
-       etc_selected :
-
-       prev_file_href :
-       next_file_href :
-
-       view_single_page_href :
-       view_frames_href :
-
-       summary_fields_href :
-       summary_routine_href :
-       details_routine_href :
-
-       title :
-       subtitle :
-       user :
--->
-
-
-<table border="0" cellpadding="0" cellspacing="0" width="98%" bgcolor="#F0F0FF" valign="bottom">
-  <tr>
-    <td width="10%">
-<a href="strkeywd.html"><img src="./../../prev.gif" border="0" alt="Previous"></a></td>
-    <td width="80%" align="center" valign="center">
-<font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../../home.html">Overview</a></font></td>
-    <td width="10%" align="right">
-<a href="strright.html"><img src="./../../next.gif" border="0" alt="Next"></a></td>
-  </tr>
-</table>
-
-
-    <h1><font size="-2">ToBeReviewed/STRING/</font></h1>
-    <h2>strrepl.pro</h2>
-
-    <dl>
-    </dl>
-
-     
- replace one (or more) character(s)/string(s) in a string
-
-
-    
-
-      
-      <a name="#_strrepl"></a>
-
-      <h2>strrepl  <font size="-1" color="#006633">
- String
-</font></h2>
-
-      <p><font face="Courier"><i>result = </i>strrepl(<i><a href="#_strrepl_keyword_str">str</a>, <a href="#_strrepl_keyword_agument1">agument1</a>, <a href="#_strrepl_keyword_rchar">rchar</a></i>)</font></p>
-
-    
-
-
-    <h3>Return value</h3>
- another string
-
-
-    
-    <h3>Parameters</h3>
-    
-
-    <a name="#_strrepl_keyword_str"></a>
-    <h4>str&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      <font size="-1" color="#006633">in</font>
-      
-      
-      <font size="-1" color="#006633">required</font>
-      
-      
-      
-      
-    </h4>
-
-    
- the string to be changed
-
-    
-
-    <a name="#_strrepl_keyword_agument1"></a>
-    <h4>agument1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      
-      
-      
-      
-      
-      
-      
-      
-    </h4>
-
-    
-    
-
-    <a name="#_strrepl_keyword_rchar"></a>
-    <h4>rchar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      <font size="-1" color="#006633">in</font>
-      
-      
-      <font size="-1" color="#006633">required</font>
-      
-      
-      
-      
-    </h4>
-
-    
- replacement character/string
-
-    
-    
-
-    
-
-    <h3>Examples</h3>
-        ; Convert one letter into upper case
-
-        abc = 'abcdefghijklmnopqrstuvwxyz'
-        print,strrepl(abc,strpos(abc,'m'),'M')
-
-        ; prints "abcdefghijklMnopqrstuvwxyz"
-
-
-        ; Use with strwhere function
-        a = 'abcabcabc'
-        print,strrepl(a,strwhere(a,'a'),'#')
-
-        ; prints  "#bc#bc#bc#bc#bc"
-
-       IDL> print, strrepl(a,'bc','!eeee!')
-       a!eeee!a!eeee!a!eeee!
-       IDL> print, strrepl(a,'b','0000')
-       a0000ca0000ca0000
-       IDL> print, strrepl(a,'toto','0000')
-       abcabcabc
-
-    <h3>Version history</h3>
-    
-    <h4>Version</h4>
- $Id: strrepl.pro 157 2006-08-21 09:01:50Z navarro $
-
-    <h4>History</h4>
-        mgs, 02 Jun 1998: VERSION 1.00
-        sebastien Masson (smlod@ipsl.jussieu.fr)
-
-    
-
-    <h3>Known issues</h3>
-    
-    
-    
-    <h4>Restrictions</h4> 
- Known shortcoming: if index is an array, it must contain all
- valid elements (only the first entry is checked).
-
-
-    
-    
-    
-    
-    
-    
-    
-
-    <font size="-3"><p>&nbsp;</p></font>
-    <hr size="1" color="#CCCCCC"/>
-      
-
-    
-
-    <p><font color="gray" size="-3">&nbsp;&nbsp;Produced by IDLdoc 2.0.</font></p>
-
-  </body>
-</html>
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strright.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strright.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strright.html	(revision 195)
@@ -46,5 +46,5 @@
   <tr>
     <td width="10%">
-<a href="strrepl.html"><img src="./../../prev.gif" border="0" alt="Previous"></a></td>
+<a href="strkeywd.html"><img src="./../../prev.gif" border="0" alt="Previous"></a></td>
     <td width="80%" align="center" valign="center">
 <font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../../home.html">Overview</a></font></td>
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strsci.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strsci.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strsci.html	(revision 195)
@@ -50,5 +50,5 @@
 <font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../../home.html">Overview</a></font></td>
     <td width="10%" align="right">
-<a href="strtok.html"><img src="./../../next.gif" border="0" alt="Next"></a></td>
+<a href="strsed.html"><img src="./../../next.gif" border="0" alt="Next"></a></td>
   </tr>
 </table>
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strsed.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strsed.html	(revision 195)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strsed.html	(revision 195)
@@ -0,0 +1,209 @@
+
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <title>strsed.pro (SAXO Documentation Assistant)</title>
+  </head>
+
+  <body text="#000000" bgcolor="#FFFFFF">
+
+    
+<!-- Navbar template takes a structure with the following fields:
+       overview_href :
+       overview_selected :
+       dir_overview_href :
+       dir_overview_selected :
+       categories_href :
+       categories_selected :
+       index_href :
+       index_selected :
+       search_href :
+       search_selected :
+       file_selected :
+       source_href :
+       source_selected :
+       help_href :
+       help_selected :
+       etc_selected :
+
+       prev_file_href :
+       next_file_href :
+
+       view_single_page_href :
+       view_frames_href :
+
+       summary_fields_href :
+       summary_routine_href :
+       details_routine_href :
+
+       title :
+       subtitle :
+       user :
+-->
+
+
+<table border="0" cellpadding="0" cellspacing="0" width="98%" bgcolor="#F0F0FF" valign="bottom">
+  <tr>
+    <td width="10%">
+<a href="strsci.html"><img src="./../../prev.gif" border="0" alt="Previous"></a></td>
+    <td width="80%" align="center" valign="center">
+<font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../../home.html">Overview</a></font></td>
+    <td width="10%" align="right">
+<a href="strtok.html"><img src="./../../next.gif" border="0" alt="Next"></a></td>
+  </tr>
+</table>
+
+
+    <h1><font size="-2">ToBeReviewed/STRING/</font></h1>
+    <h2>strsed.pro</h2>
+
+    <dl>
+    </dl>
+
+     
+ replace one (or more) character(s)/string(s) in a string array
+ "modern" version of the obsolete strrepl
+
+
+    
+
+      
+      <a name="#_strsed"></a>
+
+      <h2>strsed  <font size="-1" color="#006633">
+ String
+</font></h2>
+
+      <p><font face="Courier"><i>result = </i>strsed(<i><a href="#_strsed_keyword_str">str</a>, <a href="#_strsed_keyword_exp1">exp1</a>, <a href="#_strsed_keyword_exp2">exp2</a></i>, <a href="#_strsed_keyword_FOLD_CASE">FOLD_CASE</a>=<i>FOLD_CASE</i>)</font></p>
+
+    
+
+
+    <h3>Return value</h3>
+ string array or scalar
+
+
+    
+    <h3>Parameters</h3>
+    
+
+    <a name="#_strsed_keyword_str"></a>
+    <h4>str&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+      <font size="-1" color="#006633">in</font>
+      
+      
+      <font size="-1" color="#006633">required</font>
+      
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>string array or scalar</i></font>
+      
+      
+    </h4>
+
+    
+ the string to be changed
+
+    
+
+    <a name="#_strsed_keyword_exp1"></a>
+    <h4>exp1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+      <font size="-1" color="#006633">in</font>
+      
+      
+      <font size="-1" color="#006633">required</font>
+      
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar string</i></font>
+      
+      
+    </h4>
+
+    
+ a single regular expression (as implemented by the STREGEX function).
+
+    
+
+    <a name="#_strsed_keyword_exp2"></a>
+    <h4>exp2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+      <font size="-1" color="#006633">in</font>
+      
+      
+      <font size="-1" color="#006633">required</font>
+      
+      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar string</i></font>
+      
+      
+    </h4>
+
+    
+ replacement character/string
+
+    
+    
+
+    
+    <h3>Keywords</h3>
+
+    
+    <a name="#_strsed_keyword_FOLD_CASE"></a>
+    <h4>FOLD_CASE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+      
+      
+      
+      
+      
+      
+      
+      
+    </h4>
+
+    
+ Indicates that the regular expression matching should be done in a case-insensitive fashion.
+
+    
+    
+
+    <h3>Examples</h3>
+
+    IDL> abc = 'abcdefghijklmnopqrstuvwxyz'
+    IDL> print, strsed(abc, 'm', 'M')
+    abcdefghijklMnopqrstuvwxyz
+    IDL> print, strsed(abc, 'm.*t', 'M_T')
+    abcdefghijklM_Tuvwxyz
+    IDL> a = 'abcabcabc'
+    IDL> help, strsed([abc, a, 'eee'], 'abc', 'XXX_')
+    <Expression>    STRING    = Array[3]
+    IDL> print, strsed([abc, a, 'eee'], 'abc', 'XXX_')
+    XXX_defghijklmnopqrstuvwxyz XXX_XXX_XXX_ eee
+
+    <h3>Version history</h3>
+    
+    <h4>Version</h4>
+ $Id: strsed.pro 192 2006-09-22 09:37:08Z smasson $
+    <h4>History</h4>
+ Sept 2006: Sebastien Masson (smasson@lodyc.jussieu.fr)
+
+    
+
+    
+    
+    
+    
+    
+
+    
+    
+    
+    
+    
+    
+    
+
+    <font size="-3"><p>&nbsp;</p></font>
+    <hr size="1" color="#CCCCCC"/>
+      
+
+    
+
+    <p><font color="gray" size="-3">&nbsp;&nbsp;Produced by IDLdoc 2.0.</font></p>
+
+  </body>
+</html>
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strtok.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strtok.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRING/strtok.html	(revision 195)
@@ -46,5 +46,5 @@
   <tr>
     <td width="10%">
-<a href="strsci.html"><img src="./../../prev.gif" border="0" alt="Previous"></a></td>
+<a href="strsed.html"><img src="./../../prev.gif" border="0" alt="Previous"></a></td>
     <td width="80%" align="center" valign="center">
 <font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../../home.html">Overview</a></font></td>
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/TRIANGULATION/ciseauxtri.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/TRIANGULATION/ciseauxtri.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/TRIANGULATION/ciseauxtri.html	(revision 195)
@@ -76,5 +76,5 @@
 </font></h2>
 
-      <p><font face="Courier"><i>result = </i>ciseauxtri(<i><a href="#_ciseauxtri_keyword_triang">triang</a>, <a href="#_ciseauxtri_keyword_glam">glam</a>, <a href="#_ciseauxtri_keyword_gphi">gphi</a></i>, <a href="#_ciseauxtri_keyword_ALL">ALL</a>=<i>ALL</i>, <a href="#_ciseauxtri_keyword__EXTRA">_EXTRA</a>=<i>_EXTRA</i>)</font></p>
+      <p><font face="Courier"><i>result = </i>ciseauxtri(<i><a href="#_ciseauxtri_keyword_triang">triang</a>, <a href="#_ciseauxtri_keyword_glam">glam</a>, <a href="#_ciseauxtri_keyword_gphi">gphi</a></i>, <a href="#_ciseauxtri_keyword__EXTRA">_EXTRA</a>=<i>_EXTRA</i>)</font></p>
 
     
@@ -131,5 +131,5 @@
 
      
-
+ 
     
     
@@ -138,19 +138,4 @@
     <h3>Keywords</h3>
 
-    
-    <a name="#_ciseauxtri_keyword_ALL"></a>
-    <h4>ALL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      
-      
-      
-      
-      
-      
-      
-      
-    </h4>
-
-    
- 
     
     <a name="#_ciseauxtri_keyword__EXTRA"></a>
@@ -176,5 +161,5 @@
     
     <h4>Version</h4>
- $Id: ciseauxtri.pro 163 2006-08-29 12:59:46Z navarro $
+ $Id: ciseauxtri.pro 192 2006-09-22 09:37:08Z smasson $
  
     <h4>History</h4>
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/WIDGET/AUTOUR_de_XXX/cutcmd.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/WIDGET/AUTOUR_de_XXX/cutcmd.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/WIDGET/AUTOUR_de_XXX/cutcmd.html	(revision 195)
@@ -197,5 +197,5 @@
     
     <h4>Version</h4> 
- $Id: cutcmd.pro 150 2006-08-09 10:12:54Z navarro $
+ $Id: cutcmd.pro 192 2006-09-22 09:37:08Z smasson $
  
     <h4>History</h4>
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/WIDGET/AUTOUR_de_XXX/loadgrid.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/WIDGET/AUTOUR_de_XXX/loadgrid.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/WIDGET/AUTOUR_de_XXX/loadgrid.html	(revision 195)
@@ -132,5 +132,5 @@
     
     <h4>Version</h4> 
- $Id: loadgrid.pro 181 2006-09-15 08:24:36Z smasson $
+ $Id: loadgrid.pro 192 2006-09-22 09:37:08Z smasson $
 
     <h4>History</h4>
Index: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/WIDGET/xxx.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/WIDGET/xxx.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/WIDGET/xxx.html	(revision 195)
@@ -129,5 +129,5 @@
     
     <h4>Version</h4> 
- $Id: xxx.pro 186 2006-09-20 10:50:37Z pinsard $
+ $Id: xxx.pro 192 2006-09-22 09:37:08Z smasson $
     <h4>History</h4>
  
@@ -337,5 +337,5 @@
     
     <h4>Version</h4>
- $Id: xxx.pro 186 2006-09-20 10:50:37Z pinsard $
+ $Id: xxx.pro 192 2006-09-22 09:37:08Z smasson $
 
     <h4>History</h4>
Index: trunk/SRC/Documentation/idldoc_assistant_output/Utilities/mergeonline_help.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/Utilities/mergeonline_help.html	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/Utilities/mergeonline_help.html	(revision 195)
@@ -88,5 +88,5 @@
     
     <h4>Version</h4>
- $Id: mergeonline_help.pro 177 2006-09-13 15:50:54Z smasson $
+ $Id: mergeonline_help.pro 192 2006-09-22 09:37:08Z smasson $
     <h4>History</h4>
  Sept 2006: Sebastien Masson (smasson@lodyc.jussieu.fr)
Index: trunk/SRC/Documentation/idldoc_assistant_output/idldoc-lib.adp
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/idldoc-lib.adp	(revision 191)
+++ trunk/SRC/Documentation/idldoc_assistant_output/idldoc-lib.adp	(revision 195)
@@ -362,4 +362,7 @@
       <keyword ref="./Obsolete/nlecserie.html#_nlecserie">nlecserie</keyword>
     </section>
+    <section ref="./Obsolete/strrepl.html" title="strrepl.pro">
+      <keyword ref="./Obsolete/strrepl.html#_strrepl">strrepl</keyword>
+    </section>
     <section ref="./Obsolete/vairdate.html" title="vairdate.pro">
       <keyword ref="./Obsolete/vairdate.html#_vairdate">vairdate</keyword>
@@ -1121,7 +1124,4 @@
       <keyword ref="./ToBeReviewed/STRING/strkeywd.html#_strkeywd">strkeywd</keyword>
     </section>
-    <section ref="./ToBeReviewed/STRING/strrepl.html" title="strrepl.pro">
-      <keyword ref="./ToBeReviewed/STRING/strrepl.html#_strrepl">strrepl</keyword>
-    </section>
     <section ref="./ToBeReviewed/STRING/strright.html" title="strright.pro">
       <keyword ref="./ToBeReviewed/STRING/strright.html#_strright">strright</keyword>
@@ -1129,4 +1129,7 @@
     <section ref="./ToBeReviewed/STRING/strsci.html" title="strsci.pro">
       <keyword ref="./ToBeReviewed/STRING/strsci.html#_strsci">strsci</keyword>
+    </section>
+    <section ref="./ToBeReviewed/STRING/strsed.html" title="strsed.pro">
+      <keyword ref="./ToBeReviewed/STRING/strsed.html#_strsed">strsed</keyword>
     </section>
     <section ref="./ToBeReviewed/STRING/strtok.html" title="strtok.pro">
