test.t.rast.aggregate.ds

./temporal/t.rast.aggregate.ds – test.t.rast.aggregate.ds

Test failed

Testtest.t.rast.aggregate.ds
Testsuite./temporal/t.rast.aggregate.ds
Test file./temporal/t.rast.aggregate.ds/testsuite/test.t.rast.aggregate.ds.sh
StatusFAILED
Return code1
Number of testsunknown
Successful testsunknown
Failed tests0
Percent successfulunknown
Test duration0:00:04.424137

Supplementary files

Standard error output (stderr)

+ export GRASS_OVERWRITE=1
+ g.region s=0 n=80 w=0 e=120 b=0 t=50 res=10 res3=10 -p3
+ r.mapcalc expr=prec_1 = 100
+ r.mapcalc expr=prec_2 = 150
+ r.mapcalc expr=prec_3 = 250
+ r.mapcalc expr=prec_4 = 250
+ r.mapcalc expr=prec_5 = 150
+ r.mapcalc expr=prec_6 = 100
+ v.random -z output=soil_1 n=20 zmin=0 zmax=100 column=height
Default driver / database set to:
driver: sqlite
database: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db
Generating points...
0..5..10..15..20..25..30..35..40..45..50..55..60..65..70..75..80..85..90..95..100
Building topology for vector map <soil_1@__temporal_t_rast_aggregate_ds_test.t.rast.aggregate.ds>...
Registering primitives...

+ v.random -z output=soil_2 n=20 zmin=0 zmax=100 column=height
Generating points...
0..5..10..15..20..25..30..35..40..45..50..55..60..65..70..75..80..85..90..95..100
Building topology for vector map <soil_2@__temporal_t_rast_aggregate_ds_test.t.rast.aggregate.ds>...
Registering primitives...

+ v.random -z output=soil_3 n=20 zmin=0 zmax=100 column=height
Generating points...
0..5..10..15..20..25..30..35..40..45..50..55..60..65..70..75..80..85..90..95..100
Building topology for vector map <soil_3@__temporal_t_rast_aggregate_ds_test.t.rast.aggregate.ds>...
Registering primitives...

+ g.tempfile pid=1 -d
+ n1=/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_rast_aggregate_ds_test.t.rast.aggregate.ds/.tmp/fatra/1.0
+ cat
+ t.create type=stvds temporaltype=absolute output=soil_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_rast_aggregate_ds_test.t.rast.aggregate.ds/tgis/sqlite.db
But database file does not exist.
Creating temporal database: /grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_rast_aggregate_ds_test.t.rast.aggregate.ds/tgis/sqlite.db
+ t.register type=vector input=soil_abs1 file=/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_rast_aggregate_ds_test.t.rast.aggregate.ds/.tmp/fatra/1.0
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_abs1 title=A test descr=A test
+ t.register -i type=raster 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.rast.aggregate.ds --v input=precip_abs1 output=precip_abs2 base=prec_sum type=stvds sample=soil_abs1 method=sum sampling=contains offset=33
Traceback (most recent call last):
  File "scripts/t.rast.aggregate.ds", line 190, in <module>
    main()
  File "scripts/t.rast.aggregate.ds", line 172, in main
    overwrite=gcore.overwrite())
  File "etc/python/grass/temporal/aggregation.py", line 230, in aggregate_by_topology
    topo_builder.build(mapsA=granularity_list, mapsB=map_list, spatial=spatial)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 552, in build
    vector.RTreeSearch2(tree, rect, list_)
ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree