[GRASS-SVN] r64318 - in grass-addons: grass7/raster/r.random.weight grass7/raster/r.width.funct grass7/vector/v.stats tools/addons

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 25 06:15:21 PST 2015


Author: neteler
Date: 2015-01-25 06:15:21 -0800 (Sun, 25 Jan 2015)
New Revision: 64318

Modified:
   grass-addons/grass7/raster/r.random.weight/r.random.weight.py
   grass-addons/grass7/raster/r.width.funct/r.width.funct.py
   grass-addons/grass7/vector/v.stats/v.stats.html
   grass-addons/grass7/vector/v.stats/v.stats.py
   grass-addons/tools/addons/grass-addons-index.sh
Log:
Addons manuals: minor description standardization

Modified: grass-addons/grass7/raster/r.random.weight/r.random.weight.py
===================================================================
--- grass-addons/grass7/raster/r.random.weight/r.random.weight.py	2015-01-25 13:54:35 UTC (rev 64317)
+++ grass-addons/grass7/raster/r.random.weight/r.random.weight.py	2015-01-25 14:15:21 UTC (rev 64318)
@@ -3,7 +3,7 @@
 
 ##############################################################################
 #
-# MODULE:       r.rand.weight
+# MODULE:       r.random.weight
 # AUTHOR(S):    paulo van Breugel <paulo at ecodiv.org>
 # PURPOSE:      Create a layer with weighted random sample
 # COPYRIGHT: (C) 2014 Paulo van Breugel
@@ -16,9 +16,10 @@
 ##############################################################################
 
 #%module
-#% description: Weighted sample
+#% description: Generates a binary raster layer with a random selection of raster cells depending on the weight of each cell in the input weight layer.
 #% keyword: raster
-#% keyword: sample
+#% keyword: sampling
+#% keyword: random
 #%end
 
 #%option

Modified: grass-addons/grass7/raster/r.width.funct/r.width.funct.py
===================================================================
--- grass-addons/grass7/raster/r.width.funct/r.width.funct.py	2015-01-25 13:54:35 UTC (rev 64317)
+++ grass-addons/grass7/raster/r.width.funct/r.width.funct.py	2015-01-25 14:15:21 UTC (rev 64318)
@@ -4,7 +4,6 @@
 # MODULE:       r.width.funct
 #
 # AUTHOR(S):    Massimo Di Stefano, Francesco Di Stefano, Margherita Di Leo 
-#               
 #
 # PURPOSE:      The module produces the Width Function of a basin. The Width 
 #               Function W(x) gives the number of the cells in a basin at a 
@@ -22,8 +21,9 @@
 #
 ################################################################################
 #%module
-#% description: 
+#% description: Calculates the Width Function of a watershed basin.
 #% keyword: raster
+#% keyword: hydrology
 #%end
 
 #%option G_OPT_R_INPUT

Modified: grass-addons/grass7/vector/v.stats/v.stats.html
===================================================================
--- grass-addons/grass7/vector/v.stats/v.stats.html	2015-01-25 13:54:35 UTC (rev 64317)
+++ grass-addons/grass7/vector/v.stats/v.stats.html	2015-01-25 14:15:21 UTC (rev 64318)
@@ -0,0 +1,9 @@
+<h2>DESCRIPTION</h2>
+
+The <em>v.stats</em> calculates vector statistics.
+
+<h2>AUTHOR</h2>
+
+ Pietro Zambelli (University of Trento)
+
+<p><i>Last changed: $Date$</i>

Modified: grass-addons/grass7/vector/v.stats/v.stats.py
===================================================================
--- grass-addons/grass7/vector/v.stats/v.stats.py	2015-01-25 13:54:35 UTC (rev 64317)
+++ grass-addons/grass7/vector/v.stats/v.stats.py	2015-01-25 14:15:21 UTC (rev 64318)
@@ -16,7 +16,7 @@
 #############################################################################
 
 #%Module
-#% description: Vector stats
+#% description: Calculates vector statistics
 #% keyword: vector
 #% keyword: statistics
 #% keyword: shape

Modified: grass-addons/tools/addons/grass-addons-index.sh
===================================================================
--- grass-addons/tools/addons/grass-addons-index.sh	2015-01-25 13:54:35 UTC (rev 64317)
+++ grass-addons/tools/addons/grass-addons-index.sh	2015-01-25 14:15:21 UTC (rev 64318)
@@ -64,7 +64,7 @@
     for currfile in `ls -1 *.html | grep -v index.html` ; do
         grep 'KEYWORDS' $currfile 2> /dev/null > /dev/null
         if [ $? -eq 0 ] ; then
-           cat $currfile | awk '/NAME/,/KEYWORDS/' | grep ' - ' | cut -d'-' -f2- | cut -d'.' -f1 | cut -d'<' -f1 | sed 's+>$+></li>+g'  >> /tmp/c.$TMP
+           cat $currfile | awk '/NAME/,/KEYWORDS/' | grep ' - ' | cut -d'-' -f2- | cut -d'<' -f1 | sed 's+>$+></li>+g'  >> /tmp/c.$TMP
         else
            echo "" >> /tmp/c.$TMP
         fi



More information about the grass-commit mailing list