[GRASS-SVN] r39114 - grass/trunk/scripts/r.mask
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Sep 10 11:58:41 EDT 2009
Author: martinl
Date: 2009-09-10 11:58:41 -0400 (Thu, 10 Sep 2009)
New Revision: 39114
Modified:
grass/trunk/scripts/r.mask/r.mask.py
Log:
more gui sections
Modified: grass/trunk/scripts/r.mask/r.mask.py
===================================================================
--- grass/trunk/scripts/r.mask/r.mask.py 2009-09-10 09:38:50 UTC (rev 39113)
+++ grass/trunk/scripts/r.mask/r.mask.py 2009-09-10 15:58:41 UTC (rev 39114)
@@ -7,7 +7,7 @@
# Markus Neteler
# Converted to Python by Glynn Clements
# PURPOSE: Facilitates creation of raster MASK using r.reclass
-# COPYRIGHT: (C) 2005, 2007, 2008 by the GRASS Development Team
+# COPYRIGHT: (C) 2005, 2007-2009 by the GRASS Development Team
#
# This program is free software under the GNU General Public
# License (>=v2). Read the file COPYING that comes with GRASS
@@ -15,32 +15,36 @@
#
#############################################################################
-#%Module
-#% description: Create a MASK for limiting raster operation
-#% keywords: raster
-#% keywords: mask
-#%End
+#%module
+#% description: Creates a mask for limiting raster operation.
+#% keywords: raster
+#% keywords: mask
+#%end
#%option
#% key: input
#% type: string
#% gisprompt: old,cell,raster
-#% description: Raster map to use as MASK
+#% description: Raster map to use as mask
#% required: no
-#%END
+#% guisection: Create
+#%end
#%option
#% key: maskcats
#% type: string
-#% description: Category values to use for MASK (format: 1 2 3 thru 7 *)
+#% description: Category values to use for mask (format: 1 2 3 thru 7 *)
#% answer: *
-#%END
+#% guisection: Create
+#%end
#%flag
#% key: i
-#% description: Create inverse MASK from specified 'maskcats' list
-#%END
+#% description: Create inverse mask from specified 'maskcats' list
+#% guisection: Create
+#%end
#%flag
#% key: r
-#% description: Remove existing MASK (overrides other options)
-#%END
+#% description: Remove existing mask (overrides other options)
+#% guisection: Remove
+#%end
import sys
import os
More information about the grass-commit
mailing list