❌ Test failed
Test | test.t.rast.accumulate |
Testsuite | ./temporal/t.rast.accumulate |
Test file | ./temporal/t.rast.accumulate/testsuite/test.t.rast.accumulate.sh |
Status | FAILED |
Return code | 1 |
Number of tests | unknown |
Successful tests | unknown |
Failed tests | 0 |
Percent successful | unknown |
Test duration | 0:00:09.398624 |
+ g.region s=0 n=80 w=0 e=120 b=0 t=50 res=10 -p
+ export GRASS_OVERWRITE=1
+ r.mapcalc expr=prec_1 = rand(0, 25) -s
+ r.mapcalc expr=prec_2 = rand(0, 24) -s
+ r.mapcalc expr=prec_3 = rand(0, 23) -s
+ r.mapcalc expr=prec_4 = rand(0, 25) -s
+ r.mapcalc expr=prec_5 = rand(0, 23) -s
+ r.mapcalc expr=prec_6 = rand(0, 26) -s
+ 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/nc_basic_spm_grass7/__temporal_t_rast_accumulate_test.t.rast.accumulate/tgis/sqlite.db
But database file does not exist.
Creating temporal database: /grassdata/tests-grassdata/nc_basic_spm_grass7/__temporal_t_rast_accumulate_test.t.rast.accumulate/tgis/sqlite.db
+ t.register -i type=raster input=precip_abs1 maps=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 start=2001-01-01 increment=2 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.accumulate input=precip_abs1 output=precip_abs2 base=prec_acc limits=10,30 start=2001-01-01 gran=4 months cycle=12 months
Processing cycle 2001-01-01 00:00:00 - 2002-01-01 00:00:00
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
100
+ t.info input=precip_abs2
+ grep -v #
+ grep -v Creation
+ grep -v register
+ grep -v Id
+ grep -v Mapset
+ t.rast.accumulate input=precip_abs1 output=precip_abs2 base=prec_acc limits=10,30 start=2001-01-01 stop=2002-01-01 gran=4 months cycle=7 months
Processing cycle 2001-01-01 00:00:00 - 2001-08-01 00:00:00
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
Processing cycle 2001-08-01 00:00:00 - 2002-01-01 00:00:00
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
100
+ t.info input=precip_abs2
+ grep -v #
+ grep -v Creation
+ grep -v register
+ grep -v Id
+ grep -v Mapset
+ t.rast.accumulate input=precip_abs1 output=precip_abs2 base=prec_acc limits=10,30 start=2001-01-01 gran=2 months cycle=12 months
Processing cycle 2001-01-01 00:00:00 - 2002-01-01 00:00:00
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
100
+ t.info input=precip_abs2
+ grep -v # -v Creation
+ grep -v Id
+ grep -v Mapset
+ grep -v register
+ t.rast.accumulate input=precip_abs1 output=precip_abs2 base=prec_acc limits=10,30 start=2001-01-01 stop=2002-01-01 gran=1 months cycle=12 months
Processing cycle 2001-01-01 00:00:00 - 2002-01-01 00:00:00
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
83..100
+ t.info input=precip_abs2
grep -v #
+ grep -v Creation
+ grep -v register
+ grep -v Mapset
+ grep -v Id
+ r.mapcalc expr=lower = 10
+ r.mapcalc expr=upper = 35
+ t.create type=strds temporaltype=absolute output=lower title=lower limit descr=lower limit
+ t.register -i type=raster input=lower maps=lower start=2001-01-01 increment=8 months
Gathering map information...
0..100
Registering maps in the space time dataset...
0..Updating space time dataset...
100
+ t.create type=strds temporaltype=absolute output=upper title=upper limit descr=upper limit
+ t.register -i type=raster input=upper maps=upper start=2001-01-01 increment=10 months
Gathering map information...
0..100
Registering maps in the space time dataset...
0..Updating space time dataset...
100
+ t.rast.accumulate input=precip_abs1 output=precip_abs2 base=prec_acc limits=8,33 lower=lower upper=upper start=2001-01-01 stop=2002-01-01 gran=1 months cycle=12 months
Processing cycle 2001-01-01 00:00:00 - 2002-01-01 00:00:00
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
0..12..25..37..50..62..75..87..100
83..100
+ t.info input=precip_abs2
+ grep -v #
+ grep -v Creation
+ grep -v register
+ grep -v Id
+ grep -v Mapset
+ t.remove -rf type=strds input=precip_abs1,precip_abs2,lower,upper
Removing registered maps and strds
Removing registered maps and strds
Removing registered maps and strds
Removing registered maps and strds
+ cd data
+ ls acc_1.txt acc_2.txt acc_3.txt acc_4.txt acc_5.txt
+ basename acc_1.txt .txt
+ diff acc_1.txt acc_1.ref