[GRASS-SVN] r48696 - in grass/trunk/temporal: tr.extract tr.series

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 9 17:48:44 EDT 2011


Author: huhabla
Date: 2011-10-09 14:48:44 -0700 (Sun, 09 Oct 2011)
New Revision: 48696

Modified:
   grass/trunk/temporal/tr.extract/tr.extract.py
   grass/trunk/temporal/tr.series/tr.series.py
Log:
Temporal API changed


Modified: grass/trunk/temporal/tr.extract/tr.extract.py
===================================================================
--- grass/trunk/temporal/tr.extract/tr.extract.py	2011-10-09 21:47:47 UTC (rev 48695)
+++ grass/trunk/temporal/tr.extract/tr.extract.py	2011-10-09 21:48:44 UTC (rev 48696)
@@ -117,7 +117,7 @@
     new_sp.set_initial_values(granularity, temporal_type, semantic_type, title, description)
     new_sp.insert(dbif)
 
-    rows = sp.get_registered_maps(dbif, where, "start_time")
+    rows = sp.get_registered_maps(where, "start_time", dbif)
 
     if rows:
 	num_rows = len(rows)

Modified: grass/trunk/temporal/tr.series/tr.series.py
===================================================================
--- grass/trunk/temporal/tr.series/tr.series.py	2011-10-09 21:47:47 UTC (rev 48695)
+++ grass/trunk/temporal/tr.series/tr.series.py	2011-10-09 21:48:44 UTC (rev 48696)
@@ -91,7 +91,7 @@
 
     sp.select()
 
-    rows = sp.get_registered_maps(None, where, sort)
+    rows = sp.get_registered_maps(where, sort, None)
 
     if rows:
         # Create the r.series input file



More information about the grass-commit mailing list