[GRASS-SVN] r48885 - in grass/trunk/temporal: tr.import
tr3.unregister tv.unregister
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 20 15:24:36 EDT 2011
Author: huhabla
Date: 2011-10-20 12:24:36 -0700 (Thu, 20 Oct 2011)
New Revision: 48885
Modified:
grass/trunk/temporal/tr.import/test.tr.import.sh
grass/trunk/temporal/tr3.unregister/tr3.unregister.py
grass/trunk/temporal/tv.unregister/tv.unregister.py
Log:
Fixing bugs
Modified: grass/trunk/temporal/tr.import/test.tr.import.sh
===================================================================
--- grass/trunk/temporal/tr.import/test.tr.import.sh 2011-10-20 19:24:10 UTC (rev 48884)
+++ grass/trunk/temporal/tr.import/test.tr.import.sh 2011-10-20 19:24:36 UTC (rev 48885)
@@ -37,3 +37,7 @@
tr.import --o input=strds_export.tar.bz2 output=precip_abs1 extrdir=test
tr.import --o input=strds_export.tar.bz2 output=precip_abs1 extrdir=test -l
+
+t.remove type=rast input=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6
+t.remove type=strds input=precip_abs1
+g.remove rast=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6
Modified: grass/trunk/temporal/tr3.unregister/tr3.unregister.py
===================================================================
--- grass/trunk/temporal/tr3.unregister/tr3.unregister.py 2011-10-20 19:24:10 UTC (rev 48884)
+++ grass/trunk/temporal/tr3.unregister/tr3.unregister.py 2011-10-20 19:24:36 UTC (rev 48885)
@@ -59,7 +59,7 @@
# Make sure the temporal database exists
tgis.create_temporal_database()
# Unregister maps
- tgis.unregister_maps_from_space_time_datasets(type="str3ds", name=name, maps=maps, file=file, dbif=None)
+ tgis.unregister_maps_from_space_time_datasets(type="rast3d", name=name, maps=maps, file=file, dbif=None)
if __name__ == "__main__":
options, flags = grass.parser()
Modified: grass/trunk/temporal/tv.unregister/tv.unregister.py
===================================================================
--- grass/trunk/temporal/tv.unregister/tv.unregister.py 2011-10-20 19:24:10 UTC (rev 48884)
+++ grass/trunk/temporal/tv.unregister/tv.unregister.py 2011-10-20 19:24:36 UTC (rev 48885)
@@ -59,7 +59,7 @@
# Make sure the temporal database exists
tgis.create_temporal_database()
# Unregister maps
- tgis.unregister_maps_from_space_time_datasets(type="stvds", name=name, maps=maps, file=file, dbif=None)
+ tgis.unregister_maps_from_space_time_datasets(type="vect", name=name, maps=maps, file=file, dbif=None)
if __name__ == "__main__":
options, flags = grass.parser()
More information about the grass-commit
mailing list