[GRASS-SVN] r59284 - grass-addons/grass7/raster/r.skyview

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 18 10:47:07 PDT 2014


Author: zarch
Date: 2014-03-18 10:47:07 -0700 (Tue, 18 Mar 2014)
New Revision: 59284

Modified:
   grass-addons/grass7/raster/r.skyview/r.skyview.py
Log:
Change prefix => basename to be more consistent with other modules.

Modified: grass-addons/grass7/raster/r.skyview/r.skyview.py
===================================================================
--- grass-addons/grass7/raster/r.skyview/r.skyview.py	2014-03-18 16:54:22 UTC (rev 59283)
+++ grass-addons/grass7/raster/r.skyview/r.skyview.py	2014-03-18 17:47:07 UTC (rev 59284)
@@ -40,10 +40,10 @@
 #% required: no
 #%end
 #%option
-#%  key: prefix
+#%  key: basename
 #%  type: string
 #%  multiple: no
-#%  description: Set the prefix of the created maps
+#%  description: Set the basename for the intermediate maps
 #%end
 
 
@@ -70,8 +70,8 @@
     output = options['output']
     n_dir = int(options['ndir'])
     global TMP_NAME, CLEANUP
-    if options['prefix']:
-        TMP_NAME = options['prefix']
+    if options['basename']:
+        TMP_NAME = options['basename']
         CLEANUP = False
     horizon_step = 360. / n_dir
     msgr = get_msgr()



More information about the grass-commit mailing list