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:03.044056

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...

20 primitives registered
20 vertices registered
Building areas...
   0%   5%  10%  15%  20%  25%  30%  35%  40%  45%  50%  55%  60%  65%  70%  75%  80%  85%  90%  95% 100%
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
   5%  10%  15%  20%  25%  30%  35%  40%  45%  50%  55%  60%  65%  70%  75%  80%  85%  90%  95% 100%
Number of nodes: 0
Number of primitives: 20
Number of points: 20
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
+ 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...

20 primitives registered
20 vertices registered
Building areas...
   0%   5%  10%  15%  20%  25%  30%  35%  40%  45%  50%  55%  60%  65%  70%  75%  80%  85%  90%  95% 100%
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
   5%  10%  15%  20%  25%  30%  35%  40%  45%  50%  55%  60%  65%  70%  75%  80%  85%  90%  95% 100%
Number of nodes: 0
Number of primitives: 20
Number of points: 20
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
+ 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...

20 primitives registered
20 vertices registered
Building areas...
   0%   5%  10%  15%  20%  25%  30%  35%  40%  45%  50%  55%  60%  65%  70%  75%  80%  85%  90%  95% 100%
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
   5%  10%  15%  20%  25%  30%  35%  40%  45%  50%  55%  60%  65%  70%  75%  80%  85%  90%  95% 100%
Number of nodes: 0
Number of primitives: 20
Number of points: 20
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
+ 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:
/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_rast_aggregate_ds_test.t.rast.aggregate.ds/tgis/sqlite.db
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
   0%Aggregating 1 raster maps from 2001-01-01 00:00:00 to 2001-04-01 00:00:00
  33%Aggregating 2 raster maps from 2001-05-01 00:00:00 to 2001-07-01 00:00:00
  66%Aggregating 1 raster maps from 2001-08-01 00:00:00 to 2001-12-01 00:00:00
 100%
Creating a new space time raster dataset
Gathering map information...
   0% 100%
Registering maps in the temporal database...
Registering maps in the space time dataset...
   0%Updating space time dataset...
Update metadata, spatial and temporal extent from all registered maps of
<precip_abs2@__temporal_t_rast_aggregate_ds_test.t.rast.aggregate.ds>
 100%
Traceback (most recent call last):
  File "scripts/t.rast.aggregate.ds", line 177, in <module>
    main()
  File "scripts/t.rast.aggregate.ds", line 167, in main
    sp.get_relative_time_unit(),  dbif)
  File "etc/python/grass/temporal/register.py", line 482, in register_map_object_list
    run_=False, finish_=True)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 507, in __init__
    self.__setattr__(e.tag, GETFROMTAG[e.tag](e))
KeyError: 'rules'