test.t.vect.observe.strds

./temporal/t.vect.observe.strds – test.t.vect.observe.strds

Test failed

Testtest.t.vect.observe.strds
Testsuite./temporal/t.vect.observe.strds
Test file./temporal/t.vect.observe.strds/testsuite/test.t.vect.observe.strds.sh
StatusFAILED
Return code1
Number of testsunknown
Successful testsunknown
Failed tests0
Percent successfulunknown
Test duration0:00:03.079830

Supplementary files

Standard error output (stderr)

+ g.region s=0 n=80 w=0 e=120 b=0 t=50 res=10 res3=10 -p3
+ export GRASS_OVERWRITE=1
+ r.mapcalc expr=prec_1 = 100.0
+ r.mapcalc expr=prec_2 = 200.0
+ r.mapcalc expr=prec_3 = 300
+ r.mapcalc expr=prec_4 = 400
+ r.mapcalc expr=prec_5 = 500.0
+ r.mapcalc expr=prec_6 = 600.0
+ r.mapcalc expr=prec_7 = 400
+ r.mapcalc expr=prec_8 = 500.0
+ r.mapcalc expr=prec_9 = 600.0
+ v.random output=prec npoints=5 seed=1
Generating points...
0..20..40..60..80..100
Building topology for vector map <prec@__temporal_t_vect_observe_strds_test.t.vect.observe.strds>...
Registering primitives...

5 primitives registered
5 vertices registered
Building areas...
0..20..40..60..80..100
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
20..40..60..80..100
Number of nodes: 0
Number of primitives: 5
Number of points: 5
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
+ v.random -z output=test_1 column=test n=5 seed=1
Default driver / database set to:
driver: sqlite
database: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db
Generating points...
0..20..40..60..80..100
Building topology for vector map <test_1@__temporal_t_vect_observe_strds_test.t.vect.observe.strds>...
Registering primitives...

5 primitives registered
5 vertices registered
Building areas...
0..20..40..60..80..100
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
20..40..60..80..100
Number of nodes: 0
Number of primitives: 5
Number of points: 5
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
+ t.create type=strds temporaltype=absolute output=precip_abs1 title=A test descr=A test
Default TGIS driver / database set to:
driver: sqlite
database: $GISDBASE/$LOCATION_NAME/$MAPSET/tgis/sqlite.db
WARNING: Temporal database connection defined as:
/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_vect_observe_strds_test.t.vect.observe.strds/tgis/sqlite.db
But database file does not exists.
Creating temporal database: /grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_vect_observe_strds_test.t.vect.observe.strds/tgis/sqlite.db
+ t.register -i input=precip_abs1 maps=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 start=2001-03-01 00:00:00 increment=1 months
Gathering map information...
0..100
Registering maps in the temporal database...
Registering maps in the space time dataset...
0..Updating space time dataset...
100
+ t.create type=strds temporaltype=absolute output=precip_abs2 title=A test descr=A test
+ t.register -i input=precip_abs2 maps=prec_7,prec_8,prec_9 start=2001-05-01 00:00:00 increment=1 months
Gathering map information...
0..100
Registering maps in the temporal database...
Registering maps in the space time dataset...
0..Updating space time dataset...
100
+ t.vect.observe.strds input=prec strds=precip_abs1 output=prec_observer vector=prec_observer column=test_val
Processing features...
Copying attribute table(s)...
Building topology for vector map <prec_observer@__temporal_t_vect_observe_strds_test.t.vect.observe.strds>...
Registering primitives...

5 primitives registered
5 vertices registered
Building areas...
0..20..40..60..80..100
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
20..40..60..80..100
Number of nodes: 0
Number of primitives: 5
Number of points: 5
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
Categories copied from layer 1 to layer 2
Categories copied from layer 1 to layer 3
Categories copied from layer 1 to layer 4
Categories copied from layer 1 to layer 5
Categories copied from layer 1 to layer 6
v.category complete. 5 features modified.
Add table to layer 1
DB settings already defined, nothing to do
Traceback (most recent call last):
  File "scripts/v.db.addtable", line 150, in <module>
    sys.exit(main())
  File "scripts/v.db.addtable", line 129, in main
    table = '%s.%s' (schema, table)
TypeError: 'str' object is not callable
ERROR: Unable to add table to vector map <prec_observer> with layer 1