test.t.rast.accumulate

./temporal/t.rast.accumulate – test.t.rast.accumulate

Test failed

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

Supplementary files

Standard error output (stderr)

+ 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:
/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_rast_accumulate_test.t.rast.accumulate/tgis/sqlite.db
Creating temporal database:
/grassdata/tests-grassdata/piemonte_utm32_wgs84_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 Creation
+ grep -v Id
+ grep -v #
+ grep -v register
+ 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 Id
grep -v Creation
+ grep -v register
+ 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%
+ grep -v Mapset
+ grep -v Id
+ grep -v register
+ grep -v Creation
+ grep -v #
+ t.info input=precip_abs2
+ 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 register
+ grep -v Id
+ grep -v Mapset
+ grep -v Creation
+ 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 Creation+ grep -v register
+ grep -v Mapset
+ grep -v Id
+ grep -v #
+ t.remove -rf type=strds input=precip_abs1,precip_abs2,lower,upper
Removing registered maps
Removing registered maps
Removing registered maps
Removing registered maps
+ 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