[GRASS-SVN] r52673 - grass/branches/develbranch_6/raster/r.univar2

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 14 02:13:00 PDT 2012


Author: neteler
Date: 2012-08-14 02:13:00 -0700 (Tue, 14 Aug 2012)
New Revision: 52673

Modified:
   grass/branches/develbranch_6/raster/r.univar2/r.univar.html
   grass/branches/develbranch_6/raster/r.univar2/r3.univar.html
Log:
explain multiple input map support; cosmetics

Modified: grass/branches/develbranch_6/raster/r.univar2/r.univar.html
===================================================================
--- grass/branches/develbranch_6/raster/r.univar2/r.univar.html	2012-08-14 09:11:23 UTC (rev 52672)
+++ grass/branches/develbranch_6/raster/r.univar2/r.univar.html	2012-08-14 09:13:00 UTC (rev 52673)
@@ -1,8 +1,8 @@
 <h2>DESCRIPTION</h2>
 
-<em>r.univar</em> calculates the univariate statistics of a raster map.
-This includes the number of cells counted, minimum and maximum cell values,
-range, arithmetic mean, population variance, standard deviation, and 
+<em>r.univar</em> calculates the univariate statistics of one or several raster
+map(s). This includes the number of cells counted, minimum and maximum cell
+values, range, arithmetic mean, population variance, standard deviation, and 
 coefficient of variation. Statistics are calculated separately for every
 category/zone found in the <b>zones</b> input map if given.
 If the <b>-e</b> extended statistics flag is given the 1st quartile, median,
@@ -13,10 +13,16 @@
 with the given field separator. The table can immediately be converted to a
 vector attribute table which can then be linked to a vector, e.g. the vector
 that was rasterized to create the <b>zones</b> input raster.
+<p>
+When multiple input maps are given to <em>r.univar</em>, the overall statistics
+are calculated. This is useful for a time series of the same variable, as well as
+for the case of a segmented/tiled dataset. Allowing multiple raster maps to be
+specified saves the user from using a temporary raster map for the result of 
+<em>r.series</em> or <em>r.patch</em>.
 
 <h2>NOTES</h2>
 
-As with most GRASS raster modules, <em>r.univar</em> operates on the cell
+As with most GRASS raster modules, <em>r.univar</em> operates on the raster
 array defined by the current region settings, not the original extent and
 resolution of the input map. See <em><a href="g.region.html">g.region</a></em>.
 <p>
@@ -31,7 +37,7 @@
 <h2>EXAMPLE</h2>
 
 Calculate the raster statistics for zones within a vector map coverage
-and upload the results for mean, min and max back to the vector map.
+and upload the results for mean, min and max back to the vector map:
 
 <div class="code"><pre>
 #### set the raster region to match the map
@@ -105,21 +111,22 @@
 
 <i>mode, skewness, kurtosis</i>
 
+
 <h2>SEE ALSO</h2>
 
 <em>
-<a href="g.region.html">g.region</a><br>
-<a href="r3.univar.html">r3.univar</a><br>
-<a href="r.average.html">r.average</a><br>
-<a href="r.median.html">r.median</a><br>
-<a href="r.mode.html">r.mode</a><br>
-<a href="r.quantile.html">r.quantile</a><br>
-<a href="r.sum.html">r.sum</a><br>
-<a href="r.series.html">r.series</a><br>
-<a href="r.stats.html">r.stats</a><br>
-<a href="v.rast.stats.html">v.rast.stats</a><br>
-<a href="r.statistics.html">r.statistics</a><br>
-<a href="v.univar.html">v.univar</a><br>
+<a href="g.region.html">g.region</a>,
+<a href="r3.univar.html">r3.univar</a>,
+<a href="r.average.html">r.average</a>,
+<a href="r.median.html">r.median</a>,
+<a href="r.mode.html">r.mode</a>,
+<a href="r.quantile.html">r.quantile</a>,
+<a href="r.sum.html">r.sum</a>,
+<a href="r.series.html">r.series</a>,
+<a href="r.stats.html">r.stats</a>,
+<a href="v.rast.stats.html">v.rast.stats</a>,
+<a href="r.statistics.html">r.statistics</a>,
+<a href="v.univar.html">v.univar</a>
 </em>
 
 
@@ -127,6 +134,7 @@
 
 Hamish Bowman, Otago University, New Zealand<br>
 Extended statistics by Martin Landa<br>
+Multiple input map support by Ivan Shmakov<br>
 Zonal loop by Markus Metz
 
 <p>

Modified: grass/branches/develbranch_6/raster/r.univar2/r3.univar.html
===================================================================
--- grass/branches/develbranch_6/raster/r.univar2/r3.univar.html	2012-08-14 09:11:23 UTC (rev 52672)
+++ grass/branches/develbranch_6/raster/r.univar2/r3.univar.html	2012-08-14 09:13:00 UTC (rev 52673)
@@ -16,7 +16,7 @@
 
 <h2>NOTES</h2>
 
-As with most GRASS raster3d modules, <em>r3.univar</em> operates on the cell
+As with most GRASS raster3d modules, <em>r3.univar</em> operates on the voxel
 array defined by the current 3d region settings, not the original extent and
 resolution of the input map. See <em><a href="g.region.html">g.region</a></em>.
 <p>
@@ -31,6 +31,7 @@
 calculating percentiles with large maps.
 -->
 
+
 <h2>TODO</h2>
 
 <i>mode, skewness, kurtosis</i>
@@ -40,17 +41,18 @@
 <h2>SEE ALSO</h2>
 
 <em>
-<a href="g.region.html">g.region</a><br>
-<a href="r.univar.html">r.univar</a><br>
-<a href="r.average.html">r.average</a><br>
-<a href="r.median.html">r.median</a><br>
-<a href="r.mode.html">r.mode</a><br>
-<a href="r.quantile.html">r.quantile</a><br>
-<a href="r.sum.html">r.sum</a><br>
-<a href="r.series.html">r.series</a><br>
-<a href="r.stats.html">r.stats</a><br>
-<a href="r.statistics.html">r.statistics</a><br>
-<a href="v.univar.html">v.univar</a><br>
+<a href="g.region.html">g.region</a>,
+<a href="r.univar.html">r.univar</a>,
+<a href="r.average.html">r.average</a>,
+<a href="r.median.html">r.median</a>,
+<a href="r.mode.html">r.mode</a>,
+<a href="r.quantile.html">r.quantile</a>,
+<a href="r.sum.html">r.sum</a>,
+<a href="r.series.html">r.series</a>,
+<a href="r3.stats.html">r3.stats</a>,
+<a href="v.rast.stats.html">v.rast.stats</a>,
+<a href="r.statistics.html">r.statistics</a>,
+<a href="v.univar.html">v.univar</a>
 </em>
 
 



More information about the grass-commit mailing list