[GRASS-SVN] r55785 - grass/trunk/raster/r.series.interp

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Apr 14 02:38:54 PDT 2013


Author: neteler
Date: 2013-04-14 02:38:54 -0700 (Sun, 14 Apr 2013)
New Revision: 55785

Modified:
   grass/trunk/raster/r.series.interp/r.series.interp.html
Log:
r.series.interp: HTML cosmetics

Modified: grass/trunk/raster/r.series.interp/r.series.interp.html
===================================================================
--- grass/trunk/raster/r.series.interp/r.series.interp.html	2013-04-14 09:35:18 UTC (rev 55784)
+++ grass/trunk/raster/r.series.interp/r.series.interp.html	2013-04-14 09:38:54 UTC (rev 55785)
@@ -8,25 +8,25 @@
 The following interpolation methods are supported.
 <ul> 
  <li>linear: Linear interpolation. At least two input maps and data positions are required. 
- </ul> 
+</ul> 
 
 <h2>EXAMPLES</h2>
-<p>Interpolate linear three new maps at 3 sampling positions in the interval (0.0;1.0)
-
+Interpolate linear three new maps at 3 sampling positions in the interval (0.0;1.0)
+<br>
 First prepare the input maps:
 <br>
 <div class="code"><pre>
 g.region s=0 n=80 w=0 e=120 b=0 t=50 res=10 res3=10 -p3
 
-r.mapcalc --o expr="prec_1 = 100"
-r.mapcalc --o expr="prec_5 = 500"
+r.mapcalc expr="prec_1 = 100"
+r.mapcalc expr="prec_5 = 500"
 </pre></div>
 
 <p>Interpolate
 
 <div class="code"><pre>
-r.series.interp --o --v input=prec_1,prec_5 datapos=0.0,1.0\
-                  output=prec_2,prec_3,prec_4 sampoint=0.25,0.5,0.75\ 
+r.series.interp --v input=prec_1,prec_5 datapos=0.0,1.0 \
+                  output=prec_2,prec_3,prec_4 sampoint=0.25,0.5,0.75 \
                   method=linear
 </pre></div>
 
@@ -34,17 +34,15 @@
 First prepare the input file:
 <br>
 <div class="code"><pre>
-cat > outfile.txt << EOF
-prec_2|0.25
+echo "prec_2|0.25
 prec_3|0.5
-prec_4|0.75
-EOF
+prec_4|0.75" >> outfile.txt
 </pre></div>
 
 <p>Interpolate:
 
 <div class="code"><pre>
-r.series.interp --o --v input=prec_1,prec_5 datapos=0.0,1.0 file=outfile.txt method=linear
+r.series.interp --v input=prec_1,prec_5 datapos=0.0,1.0 file=outfile.txt method=linear
 </pre></div>
 
 The resulting maps will have the values 200, 300 and 400.



More information about the grass-commit mailing list