test.t.rast.accumulate

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

Test failed

Test filetest.t.rast.accumulate
Testsuite./temporal/t.rast.accumulate
StatusFAILED
Return code1
Number of testsunknown
Successful testsunknown
Failed tests0
Percent successfulunknown
Test duration0:00:07.612761

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=rast 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 raster dataset...
   0%Updating space time raster 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 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 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+  -vgrepset
 -v Id
+ 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 #
+ grep -v Creation
+ grep -v Mapset
+ grep -v register
+ grep -v Id
+ 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 Id
+ grep -v Creation
+ grep -v Mapset
+ grep -v register
+ 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=rast input=lower maps=lower start=2001-01-01 increment=8 months
Gathering map information...
   0% 100%
Registering maps in the space time raster dataset...
   0%Updating space time raster dataset...
 100%
+ t.create type=strds temporaltype=absolute output=upper title=upper limit descr=upper limit
+ t.register -i type=rast input=upper maps=upper start=2001-01-01 increment=10 months
Gathering map information...
   0% 100%
Registering maps in the space time raster dataset...
   0%Updating space time raster 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
Traceback (most recent call last):
  File "scripts/t.remove", line 159, in <module>
    tgis.profile_function(main)
  File "etc/python/grass/temporal/core.py", line 73, in profile_function
    func()
  File "scripts/t.remove", line 143, in main
    remove(type="rast", name=",".join(name_list), run_=True)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 594, in __call__
    self.inputs[key].value = val
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 183, in _set_value
    self._value, self._rawvalue = _check_value(self, value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 91, in _check_value
    raise ValueError(must_val % (param.name, param.values))
ValueError: The Parameter <type>, must be one of the following values: ['raster', '3draster', 'vector', 'oldvector', 'asciivector', 'labels', 'region', 'group', 'all']