Browse Source

temporal modules: Small test modification and bugfixing

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62644 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert 10 years ago
parent
commit
4adf7a500b

+ 1 - 0
temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py

@@ -19,6 +19,7 @@ class TestUnregister(TestCase):
     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,  

+ 1 - 0
temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py

@@ -19,6 +19,7 @@ class TestUnregister(TestCase):
     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,  

+ 2 - 2
temporal/t.rast3d.extract/t.rast3d.extract.py

@@ -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 @@ def main():
     output = options["output"]
     where = options["where"]
     expression = options["expression"]
-    base = options["base"]
+    base = options["basename"]
     nprocs = int(options["nprocs"])
     register_null = flags["n"]