[GRASS-SVN] r63590 - in grass/trunk/temporal: t.info t.list t.rast3d.algebra/testsuite t.rast3d.extract/testsuite t.remove

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 18 07:46:36 PST 2014


Author: martinl
Date: 2014-12-18 07:46:36 -0800 (Thu, 18 Dec 2014)
New Revision: 63590

Modified:
   grass/trunk/temporal/t.info/t.info.py
   grass/trunk/temporal/t.list/t.list.py
   grass/trunk/temporal/t.rast3d.algebra/testsuite/test_raster3d_algebra.py
   grass/trunk/temporal/t.rast3d.extract/testsuite/test_extract.py
   grass/trunk/temporal/t.remove/t.remove.py
Log:
update temporal modules to `raster_3d` (#2409)


Modified: grass/trunk/temporal/t.info/t.info.py
===================================================================
--- grass/trunk/temporal/t.info/t.info.py	2014-12-18 15:43:47 UTC (rev 63589)
+++ grass/trunk/temporal/t.info/t.info.py	2014-12-18 15:46:36 UTC (rev 63590)
@@ -28,7 +28,7 @@
 #%option G_OPT_STDS_TYPE
 #% guidependency: input
 #% guisection: Required
-#% options: strds, str3ds, stvds, raster, 3draster, vector
+#% options: strds, str3ds, stvds, raster, raster_3d, vector
 #%end
 
 #%flag

Modified: grass/trunk/temporal/t.list/t.list.py
===================================================================
--- grass/trunk/temporal/t.list/t.list.py	2014-12-18 15:43:47 UTC (rev 63589)
+++ grass/trunk/temporal/t.list/t.list.py	2014-12-18 15:46:36 UTC (rev 63590)
@@ -27,7 +27,7 @@
 #% description: Type of the space time dataset or map, default is strds
 #% guisection: Selection
 #% required: no
-#% options: strds, str3ds, stvds, raster, 3draster, vector
+#% options: strds, str3ds, stvds, raster, raster_3d, vector
 #% answer: strds
 #%end
 

Modified: grass/trunk/temporal/t.rast3d.algebra/testsuite/test_raster3d_algebra.py
===================================================================
--- grass/trunk/temporal/t.rast3d.algebra/testsuite/test_raster3d_algebra.py	2014-12-18 15:43:47 UTC (rev 63589)
+++ grass/trunk/temporal/t.rast3d.algebra/testsuite/test_raster3d_algebra.py	2014-12-18 15:46:36 UTC (rev 63590)
@@ -34,7 +34,7 @@
         tgis.open_new_stds(name="A", type="str3ds", temporaltype="absolute",
                                          title="A", descr="A", semantic="field", overwrite=True)
 
-        tgis.register_maps_in_space_time_dataset(type="3draster", name="A", maps="a1,a2,a3,a4",
+        tgis.register_maps_in_space_time_dataset(type="raster_3d", name="A", maps="a1,a2,a3,a4",
                                                  start="2001-01-01", increment="1 day", interval=True)
 
     def tearDown(self):

Modified: grass/trunk/temporal/t.rast3d.extract/testsuite/test_extract.py
===================================================================
--- grass/trunk/temporal/t.rast3d.extract/testsuite/test_extract.py	2014-12-18 15:43:47 UTC (rev 63589)
+++ grass/trunk/temporal/t.rast3d.extract/testsuite/test_extract.py	2014-12-18 15:46:36 UTC (rev 63590)
@@ -41,7 +41,7 @@
 
         self.runModule("t.create",  type="str3ds",  temporaltype="absolute",  
                                      output="A",  title="A test",  description="A test",  overwrite=True)
-        self.runModule("t.register",  flags="i",  type="3draster",  input="A",  
+        self.runModule("t.register",  flags="i",  type="raster_3d",  input="A",  
                                      maps="a1,a2,a3,a4,a5,a6",  
                                      start="2001-01-01", increment="3 months",  overwrite=True)
 

Modified: grass/trunk/temporal/t.remove/t.remove.py
===================================================================
--- grass/trunk/temporal/t.remove/t.remove.py	2014-12-18 15:43:47 UTC (rev 63589)
+++ grass/trunk/temporal/t.remove/t.remove.py	2014-12-18 15:46:36 UTC (rev 63590)
@@ -137,7 +137,7 @@
                     if type == "stvds":
                         remove(type="vector", name=name_list, run_=True)
                     if type == "str3ds":
-                        remove(type="3draster", name=name_list, run_=True)
+                        remove(type="raster_3d", name=name_list, run_=True)
                     map_statement = ""
                     name_list = []
 
@@ -149,7 +149,7 @@
                 if type == "stvds":
                     remove(type="vector", name=name_list, run_=True)
                 if type == "str3ds":
-                    remove(type="3draster", name=name_list, run_=True)
+                    remove(type="raster_3d", name=name_list, run_=True)
 
         statement += sp.delete(dbif=dbif, execute=False)
 



More information about the grass-commit mailing list