[GRASS-SVN] r62644 - in grass/trunk/temporal: t.rast.aggregate/testsuite t.rast3d.extract

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 6 14:07:42 PST 2014


Author: huhabla
Date: 2014-11-06 14:07:42 -0800 (Thu, 06 Nov 2014)
New Revision: 62644

Modified:
   grass/trunk/temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py
   grass/trunk/temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py
   grass/trunk/temporal/t.rast3d.extract/t.rast3d.extract.py
Log:
temporal modules: Small test modification and bugfixing

Modified: grass/trunk/temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py
===================================================================
--- grass/trunk/temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py	2014-11-06 22:03:17 UTC (rev 62643)
+++ grass/trunk/temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py	2014-11-06 22:07:42 UTC (rev 62644)
@@ -19,6 +19,7 @@
     def setUpClass(cls):
         """Initiate the temporal GIS and set the region
         """
+        os.putenv("GRASS_OVERWRITE",  "1")
         tgis.init()
         cls.use_temp_region()
         cls.runModule("g.region",  s=0,  n=80,  w=0,  e=120,  b=0,  

Modified: grass/trunk/temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py
===================================================================
--- grass/trunk/temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py	2014-11-06 22:03:17 UTC (rev 62643)
+++ grass/trunk/temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py	2014-11-06 22:07:42 UTC (rev 62644)
@@ -19,6 +19,7 @@
     def setUpClass(cls):
         """Initiate the temporal GIS and set the region
         """
+        os.putenv("GRASS_OVERWRITE",  "1")
         tgis.init()
         cls.use_temp_region()
         cls.runModule("g.region",  s=0,  n=80,  w=0,  e=120,  b=0,  

Modified: grass/trunk/temporal/t.rast3d.extract/t.rast3d.extract.py
===================================================================
--- grass/trunk/temporal/t.rast3d.extract/t.rast3d.extract.py	2014-11-06 22:03:17 UTC (rev 62643)
+++ grass/trunk/temporal/t.rast3d.extract/t.rast3d.extract.py	2014-11-06 22:07:42 UTC (rev 62644)
@@ -38,7 +38,7 @@
 #%end
 
 #%option
-#% key: base
+#% key: basename
 #% type: string
 #% description: Base name of the new created 3D raster maps
 #% required: no
@@ -72,7 +72,7 @@
     output = options["output"]
     where = options["where"]
     expression = options["expression"]
-    base = options["base"]
+    base = options["basename"]
     nprocs = int(options["nprocs"])
     register_null = flags["n"]
 



More information about the grass-commit mailing list