[GRASS-dev] [GRASS GIS] #2735: t.rast.mapcalc input problem
GRASS GIS
trac at osgeo.org
Mon Apr 29 09:58:47 PDT 2019
#2735: t.rast.mapcalc input problem
--------------------------+----------------------------
Reporter: leohardtke | Owner: grass-dev@…
Type: defect | Status: reopened
Priority: normal | Milestone: 7.0.7
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: t.rast.mapcalc
CPU: Unspecified | Platform: Linux
--------------------------+----------------------------
Comment (by veroandreo):
This is still an issue in 7.6 relbranch. Here's how to reproduce:
{{{
# create strds test
for i in `seq -w 1 10` ; do r.mapcalc expression="map_$i = 1" ; done
t.create output=test type=strds temporaltype=absolute title="test"
description="test"
t.register input=test maps=`g.list rast pat=map_* sep=,`
start='2000-01-01' increment="1 days" -i
# create strds test2
for i in `seq -w 1 10` ; do r.mapcalc expression="mapa_$i = 1" ; done
t.create output=test2 type=strds temporaltype=absolute title="test"
description="test"
t.register input=test2 maps=`g.list rast pat=mapa_* sep=,`
start='2000-01-01' increment="1 days" -i
# t.rast.mapcalc
t.rast.mapcalc inputs=test,test2 expression="test+test2" basename=test
output=test3
Starting temporal sampling...
Starting mapcalc computation...
Invalid map <map_012>
Parse error
ERROR: parse error
ERROR: Error while mapcalc computation
}}}
maybe, this is a wontfix though... AFAIU, it is recommended to use
G7:t.rast.algebra in these cases in which strds and maps within them are
nested or so similar
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2735#comment:16>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list