[GRASS-SVN] r51291 - in grass/branches/develbranch_6/scripts:
r.pack r.unpack
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Apr 6 10:56:24 EDT 2012
Author: martinl
Date: 2012-04-06 07:56:24 -0700 (Fri, 06 Apr 2012)
New Revision: 51291
Modified:
grass/branches/develbranch_6/scripts/r.pack/r.pack
grass/branches/develbranch_6/scripts/r.unpack/r.unpack
Log:
r.pack & r.unpack: define basic keywords
(merge r51289 from relbr64)
Modified: grass/branches/develbranch_6/scripts/r.pack/r.pack
===================================================================
--- grass/branches/develbranch_6/scripts/r.pack/r.pack 2012-04-06 14:53:11 UTC (rev 51290)
+++ grass/branches/develbranch_6/scripts/r.pack/r.pack 2012-04-06 14:56:24 UTC (rev 51291)
@@ -2,17 +2,17 @@
# r.pack -- pack up a raster map:
# collect raster map elements => gzip
#
-# (c) 2004-2008 GRASS Development Team
+# (c) 2004-2008, 2012 GRASS Development Team
# AUTHOR: Hamish Bowman, Otago University, New Zealand
#
-# This program is free software under the GNU General Public
-# License (>=v2). Read the file COPYING that comes with GRASS
-# for details.
+# This program is free software under the GNU General Public License
+# (>=v2). Read the file COPYING that comes with GRASS for details.
#
-#%Module
-#% description: Packs up a raster map and support files for copying.
-#%End
+#%module
+#% description: Packs up a raster map and support files for copying.
+#% keywords: raster, copying
+#%end
#%option
#% key: input
#% type: string
@@ -27,7 +27,7 @@
#% gisprompt: new_file,file,output
#% description: Name for output file (default is input-map.pack)
#% key_desc: name
-#% required : no
+#% required: no
#%end
Modified: grass/branches/develbranch_6/scripts/r.unpack/r.unpack
===================================================================
--- grass/branches/develbranch_6/scripts/r.unpack/r.unpack 2012-04-06 14:53:11 UTC (rev 51290)
+++ grass/branches/develbranch_6/scripts/r.unpack/r.unpack 2012-04-06 14:56:24 UTC (rev 51291)
@@ -2,7 +2,7 @@
# r.unpack -- unpack up a raster map packed with r.pack:
# tar+gzip'd map elements => GRASS 6 mapset structure
#
-# (c) 2004-2008 GRASS Development Team
+# (c) 2004-2008, 2012 GRASS Development Team
# AUTHOR: Hamish Bowman, Otago University, New Zealand
#
# This program is free software under the GNU General Public
@@ -10,26 +10,28 @@
# for details.
#
-#%Module
-#% description: Unpacks a raster map packed with r.pack.
-#%End
+#%module
+#% description: Unpacks a raster map packed with r.pack.
+#% keywords: raster, copying
+#%end
#%option
#% key: input
#% type: string
#% gisprompt: old,file,input
#% description: Name of input pack file
-#% required : yes
+#% required: yes
#%end
#%option
#% key: output
#% type: string
+#% key_desc: name
#% gisprompt: new,cell,raster
#% description: Name for output raster map (default: taken from input file internals)
#% required : no
#%end
#%flag
-#% key: o
-#% description: Override projection check (use current location's projection)
+#% key: o
+#% description: Override projection check (use current location's projection)
#%end
More information about the grass-commit
mailing list