[GRASS-SVN] r59290 - grass-addons/grass7/raster/r.sun.hourly

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Mar 22 05:31:07 PDT 2014


Author: annakrat
Date: 2014-03-22 05:31:06 -0700 (Sat, 22 Mar 2014)
New Revision: 59290

Modified:
   grass-addons/grass7/raster/r.sun.hourly/r.sun.hourly.py
Log:
r.sun.hourly: fix overwrite flag

Modified: grass-addons/grass7/raster/r.sun.hourly/r.sun.hourly.py
===================================================================
--- grass-addons/grass7/raster/r.sun.hourly/r.sun.hourly.py	2014-03-22 10:01:49 UTC (rev 59289)
+++ grass-addons/grass7/raster/r.sun.hourly/r.sun.hourly.py	2014-03-22 12:31:06 UTC (rev 59290)
@@ -17,6 +17,7 @@
 #% description: Runs r.sun in loop for given time range (mode 1)
 #% keywords: raster
 #% keywords: sun
+#% overwrite: yes
 #%end
 #%option
 #% type: string
@@ -128,10 +129,6 @@
 #% key: b
 #% description: Create binary rasters instead of irradiation rasters
 #%end
-#%flag
-#% key: overwrite
-#% description: Allow output files to overwrite existing files
-#%end
 
 
 import os



More information about the grass-commit mailing list