test.t.rast.univar

./temporal/t.rast.univar – test.t.rast.univar

Test failed

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

Supplementary files

Standard error output (stderr)

+ g.region s=0 n=80 w=0 e=120 b=0 t=50 res=10 res3=10 -p3
+ export GRASS_OVERWRITE=1
+ r.mapcalc expr=prec_1 = rand(0, 550) -s
+ r.mapcalc expr=prec_2 = rand(0, 450) -s
+ r.mapcalc expr=prec_3 = rand(0, 320) -s
+ r.mapcalc expr=prec_4 = rand(0, 510) -s
+ r.mapcalc expr=prec_5 = rand(0, 300) -s
+ r.mapcalc expr=prec_6 = rand(0, 650) -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_univar_test.t.rast.univar/tgis/sqlite.db
Creating temporal database:
/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_rast_univar_test.t.rast.univar/tgis/sqlite.db
+ t.register type=rast --v -i input=precip_abs1 maps=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 start=2001-01-15 12:05:45 increment=14 days
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...
Update metadata, spatial and temporal extent from all registered maps of
<precip_abs1@__temporal_t_rast_univar_test.t.rast.univar>
 100%
+ t.rast.univar -e input=precip_abs1
+ t.rast.univar -s input=precip_abs1
+ t.remove -rf type=strds input=precip_abs1
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']