[GRASS-SVN] r73794 - grass/trunk/scripts/r.mapcalc.simple

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 11 02:51:27 PST 2018


Author: martinl
Date: 2018-12-11 02:51:26 -0800 (Tue, 11 Dec 2018)
New Revision: 73794

Modified:
   grass/trunk/scripts/r.mapcalc.simple/r.mapcalc.simple.py
Log:
r.mapcalc.simple: more guisections, description cosmetics, see #3431

Modified: grass/trunk/scripts/r.mapcalc.simple/r.mapcalc.simple.py
===================================================================
--- grass/trunk/scripts/r.mapcalc.simple/r.mapcalc.simple.py	2018-12-11 09:57:10 UTC (rev 73793)
+++ grass/trunk/scripts/r.mapcalc.simple/r.mapcalc.simple.py	2018-12-11 10:51:26 UTC (rev 73794)
@@ -18,9 +18,10 @@
 """
 
 #%module
-#% description: Calculate new raster map from a r.mapcalc expression
+#% description: Calculates a new raster map from a simple r.mapcalc expression.
 #% keyword: raster
 #% keyword: algebra
+#% keyword: simple
 #%end
 #%option
 #% key: expression
@@ -30,38 +31,41 @@
 #%end
 #%option G_OPT_R_INPUT
 #% key: a
-#% description: A
+#% description: Name of input A raster map
 #% required : no
+#% guisection: Input maps
 #%end
 #%option G_OPT_R_INPUT
 #% key: b
-#% description: B
+#% description: Name of input B raster map
 #% required : no
+#% guisection: Input maps
 #%end
 #%option G_OPT_R_INPUT
 #% key: c
-#% description: C
+#% description: Name of input C raster map
 #% required : no
+#% guisection: Input maps
 #%end
 #%option G_OPT_R_INPUT
 #% key: d
-#% description: D
+#% description: Name of input D raster map
 #% required : no
+#% guisection: Input maps
 #%end
 #%option G_OPT_R_INPUT
 #% key: e
-#% description: E
+#% description: Name of input E raster map
 #% required : no
+#% guisection: Input maps
 #%end
 #%option G_OPT_R_INPUT
 #% key: f
-#% description: F
+#% description: Name of input F raster map
 #% required : no
+#% guisection: Input maps
 #%end
-#%option
-#% key: output
-#% description: Name for output raster map
-#% required : yes
+#%option G_OPT_R_OUTPUT
 #%end
 #%option
 #% key: seed
@@ -69,14 +73,17 @@
 #% required: no
 #% multiple: no
 #% description: Seed for rand() function
+#% guisection: Random
 #%end
 #%flag
 #% key: s
 #% description: Generate random seed (result is non-deterministic)
+#% guisection: Random
 #%end
 #%flag
 #% key: q
 #% description: Quote the map names
+#% guisection: Input maps
 #%end
 #%flag
 #% key: c



More information about the grass-commit mailing list