[GRASS-SVN] r61358 - in grass/trunk: lib/init temporal/t.rast.neighbors

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 23 00:37:34 PDT 2014


Author: martinl
Date: 2014-07-23 00:37:34 -0700 (Wed, 23 Jul 2014)
New Revision: 61358

Modified:
   grass/trunk/lib/init/variables.html
   grass/trunk/temporal/t.rast.neighbors/t.rast.neighbors.html
Log:
GRASS_RND_SEED replaced by seed= (see r61353)

Modified: grass/trunk/lib/init/variables.html
===================================================================
--- grass/trunk/lib/init/variables.html	2014-07-23 02:35:53 UTC (rev 61357)
+++ grass/trunk/lib/init/variables.html	2014-07-23 07:37:34 UTC (rev 61358)
@@ -201,11 +201,6 @@
   <dd>[used during install process for generating man pages]<br>
     set Perl with path.</dd>
   
-  <dt>GRASS_RND_SEED</dt>
-  <dd>set random seed
-    for <em><a href="r.mapcalc.html">r.mapcalc</a></em> rand()
-    function.</dd>
-
   <dt>GRASS_SKIP_MAPSET_OWNER_CHECK</dt>
   <dd>By default it is not possible to work with MAPSETs that are
     not owned by current user. Setting this variable to any non-empty value

Modified: grass/trunk/temporal/t.rast.neighbors/t.rast.neighbors.html
===================================================================
--- grass/trunk/temporal/t.rast.neighbors/t.rast.neighbors.html	2014-07-23 02:35:53 UTC (rev 61357)
+++ grass/trunk/temporal/t.rast.neighbors/t.rast.neighbors.html	2014-07-23 07:37:34 UTC (rev 61358)
@@ -34,8 +34,7 @@
 
 count=1
 for map in ${MAPS} ; do
-    export GRASS_RND_SEED=${count}
-    r.mapcalc --o expr="${map} = rand(0, 550)" 
+    r.mapcalc --o expr="${map} = rand(0, 550)" seed=${count}
     echo ${map} >> map_list.txt 
     count=$((count+1))
 done



More information about the grass-commit mailing list