test.t.sample

./temporal/t.sample – test.t.sample

Test failed

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

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 = rand(0, 550) -s
+ r.mapcalc expr=prec_2 = rand(0, 450) -s
+ r.mapcalc expr=prec_3 = rand(0, 320) -s
+ r.mapcalc expr=prec_4 = rand(0, 510) -s
+ r.mapcalc expr=prec_5 = rand(0, 300) -s
+ r.mapcalc expr=prec_6 = rand(0, 650) -s
+ v.random -z output=pnts1 npoints=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 <pnts1@__temporal_t_sample_test.t.sample>...
Registering primitives...

+ v.random -z output=pnts2 npoints=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 <pnts2@__temporal_t_sample_test.t.sample>...
Registering primitives...

+ v.random -z output=pnts3 npoints=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 <pnts3@__temporal_t_sample_test.t.sample>...
Registering primitives...

+ v.random -z output=pnts4 npoints=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 <pnts4@__temporal_t_sample_test.t.sample>...
Registering primitives...

+ v.random -z output=pnts5 npoints=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 <pnts5@__temporal_t_sample_test.t.sample>...
Registering primitives...

+ v.random -z output=pnts6 npoints=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 <pnts6@__temporal_t_sample_test.t.sample>...
Registering primitives...

+ v.random -z output=pnts7 npoints=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 <pnts7@__temporal_t_sample_test.t.sample>...
Registering primitives...

+ v.random -z output=pnts8 npoints=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 <pnts8@__temporal_t_sample_test.t.sample>...
Registering primitives...

+ g.tempfile pid=1 -d
+ n1=/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_sample_test.t.sample/.tmp/fatra/1.0
+ g.tempfile pid=2 -d
+ n2=/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_sample_test.t.sample/.tmp/fatra/2.0
+ g.tempfile pid=3 -d
+ n3=/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_sample_test.t.sample/.tmp/fatra/3.0
+ cat
+ cat
+ cat
+ t.create type=strds temporaltype=absolute output=precip_abs0 title=A test with raster input files descr=A test with raster input files
WARNING: Temporal database connection defined as:
/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_sample_test.t.sample/tgis/sqlite.db
But database file does not exist.
Creating temporal database: /grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_sample_test.t.sample/tgis/sqlite.db
+ t.create type=stvds temporaltype=absolute output=pnts_abs0 title=A test with vector input files descr=A test with vector input files
+ t.create type=stvds temporaltype=absolute output=pnts_abs1 title=A test with vector input files descr=A test with vector input files
+ t.register type=raster -i input=precip_abs0 file=/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_sample_test.t.sample/.tmp/fatra/1.0 start=2001-01-01 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.list precip_abs0
+ t.register type=vector input=pnts_abs0 file=/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_sample_test.t.sample/.tmp/fatra/2.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.vect.list pnts_abs0
+ t.register type=vector input=pnts_abs1 file=/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_sample_test.t.sample/.tmp/fatra/3.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.vect.list pnts_abs1
+ t.sample method=start input=precip_abs0,precip_abs0,precip_abs0,precip_abs0 samtype=stvds sample=pnts_abs0
Traceback (most recent call last):
  File "scripts/t.sample", line 97, in <module>
    main()
  File "scripts/t.sample", line 93, in main
    True)
  File "etc/python/grass/temporal/sampling.py", line 109, in sample_stds_by_stds_topology
    mapmatrix = st.sample_by_dataset(sst, method, spatial, dbif)
  File "etc/python/grass/temporal/abstract_space_time_dataset.py", line 741, in sample_by_dataset
    tb.build(mapsB, mapsA, 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