test_raster_algebra_fails stdout
Default TGIS driver / database set to:
driver: sqlite
database: /grassdata/tests-grassdata/nc_spm_08_grass7/__temporal_t_rast_algebra_test_raster_algebra_fails/tgis/sqlite.db
Creating temporal database: /grassdata/tests-grassdata/nc_spm_08_grass7/__temporal_t_rast_algebra_test_raster_algebra_fails/tgis/sqlite.db
Traceback (most recent call last):
File "scripts/t.rast.algebra", line 98, in <module>
sys.exit(main())
File "scripts/t.rast.algebra", line 94, in main
p.parse(expression, basename, grass.script.overwrite())
File "etc/python/grass/temporal/temporal_raster_algebra.py", line 92, in parse
self.parser.parse(expression)
File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 269, in parse
return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 1051, in parseopt_notrack
tok = self.errorfunc(errtoken)
File "etc/python/grass/temporal/temporal_algebra.py", line 2819, in p_error
(t.lineno, t.type, t.value, self.expression))
SyntaxError: syntax error on line 1, token CEQUALS near '==' expression 'R == A {+,equal| precedes| follows,l} B'
Traceback (most recent call last):
File "scripts/t.rast.algebra", line 98, in <module>
sys.exit(main())
File "scripts/t.rast.algebra", line 94, in main
p.parse(expression, basename, grass.script.overwrite())
File "etc/python/grass/temporal/temporal_raster_algebra.py", line 92, in parse
self.parser.parse(expression)
File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 269, in parse
return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 975, in parseopt_notrack
p.callable(pslice)
File "etc/python/grass/temporal/temporal_raster_base_algebra.py", line 844, in p_arith2_operation
maplistA = self.check_stds(t[1])
File "etc/python/grass/temporal/temporal_algebra.py", line 1108, in check_stds
(stds.get_new_map_instance(None).get_type(), id_input))
grass.temporal.temporal_algebra.FatalError: Space time raster dataset <NoSTRDS@__temporal_t_rast_algebra_test_raster_algebra_fails> not found
Description:
Apply temporal and spatial operations on space time raster datasets using temporal raster algebra.
Keywords:
temporal, algebra, raster
Usage:
t.rast.algebra [-sng] expression=string basename=string [nprocs=value]
[--help] [--verbose] [--quiet] [--ui]
Flags:
-s Activate spatial topology
-n Register Null maps
-g Use granularity sampling instead of the temporal topology approach
--h Print usage summary
--v Verbose module output
--q Quiet module output
--ui Force launching GUI dialog
Parameters:
expression r.mapcalc expression for temporal and spatial analysis of space time raster datasets
basename Basename of the new generated output maps
A numerical suffix separated by an underscore will be attached to create a unique identifier
nprocs Number of r.mapcalc processes to run in parallel
default: 1
ERROR: Required parameter <basename> not set:
(Basename of the new generated output maps)
Traceback (most recent call last):
File "scripts/t.rast.algebra", line 98, in <module>
sys.exit(main())
File "scripts/t.rast.algebra", line 94, in main
p.parse(expression, basename, grass.script.overwrite())
File "etc/python/grass/temporal/temporal_raster_algebra.py", line 79, in parse
raise SyntaxError("Syntax error near '%s'" %(tok.type))
SyntaxError: Syntax error near 'STRDS'