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...
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...
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...
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=vect 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 raster dataset...
0%Updating space time raster dataset...
100%
+ t.create type=strds temporaltype=absolute output=precip_abs1 title=A test descr=A test
+ t.register -i type=rast 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 raster dataset...
0%Updating space time raster 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 176, in <module>
main()
File "scripts/t.rast.aggregate.ds", line 158, in main
overwrite=gcore.overwrite())
File "etc/python/grass/temporal/aggregation.py", line 232, in aggregate_by_topology
quiet=True, run_=False, finish_=False)
File "etc/python/grass/pygrass/modules/interface/module.py", line 556, in __init__
self.__call__(*args, **kargs)
File "etc/python/grass/pygrass/modules/interface/module.py", line 602, in __call__
raise ParameterError('%s is not a valid parameter.' % key)
grass.exceptions.ParameterError: rast is not a valid parameter.