[GRASS-SVN] r64560 - grass/trunk/temporal/t.vect.observe.strds

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 11 05:45:47 PST 2015


Author: huhabla
Date: 2015-02-11 05:45:47 -0800 (Wed, 11 Feb 2015)
New Revision: 64560

Modified:
   grass/trunk/temporal/t.vect.observe.strds/t.vect.observe.strds.py
Log:
temporal modules: removed t_where from t.vect.observe.strds since it is not supported in case of multiple strds sampling


Modified: grass/trunk/temporal/t.vect.observe.strds/t.vect.observe.strds.py
===================================================================
--- grass/trunk/temporal/t.vect.observe.strds/t.vect.observe.strds.py	2015-02-11 13:44:22 UTC (rev 64559)
+++ grass/trunk/temporal/t.vect.observe.strds/t.vect.observe.strds.py	2015-02-11 13:45:47 UTC (rev 64560)
@@ -47,10 +47,6 @@
 #%option G_OPT_DB_WHERE
 #%end
 
-#%option G_OPT_T_WHERE
-#% key: t_where
-#%end
-
 import grass.script as grass
 import grass.temporal as tgis
 import grass.script.raster as raster
@@ -81,7 +77,6 @@
     strds = options["strds"]
     where = options["where"]
     columns = options["columns"]
-    tempwhere = options["t_where"]
 
     if where == "" or where == " " or where == "\n":
         where = None
@@ -112,7 +107,8 @@
     # Single space time raster dataset
     if len(strds_names) == 1:
         rows = first_strds.get_registered_maps(
-            "name,mapset,start_time,end_time", tempwhere, "start_time", dbif)
+            columns="name,mapset,start_time,end_time", 
+            order="start_time", dbif=dbif)
 
         if not rows:
             dbif.close()



More information about the grass-commit mailing list