[GRASS-user] GRASS7.4 TGRASS parse error while mapcalc computatio

Anika Bettge bettge at mundialis.de
Wed Feb 21 03:57:10 PST 2018


Dear list,


I use TGRASS to calculate a NDVI.

For this I generate two space time raster datasets of the red (b4) and
nir (b8) bands.

When I try to calculate with b4 and b8 I get a Parse Error:


GRASS 7.4.0 (accra32630):~ > t.rast.list input=b4
name|mapset|start_time|end_time
S2_0e76f09b_d221_4e88_b7f9_d3b8aad4975d_20180102T140217_B04_10m|st|2018-01-02
14:02:17|2018-01-02 14:02:18
S2_197fb441_5b8c_48ec_a827_2512f702fd3f_20180114T121946_B04_10m|st|2018-01-14
12:19:46|2018-01-14 12:19:47

GRASS 7.4.0 (accra32630):~ > t.rast.list input=b8
name|mapset|start_time|end_time
S2_0e76f09b_d221_4e88_b7f9_d3b8aad4975d_20180102T140217_B08_10m|st|2018-01-02
14:02:17|2018-01-02 14:02:18
S2_197fb441_5b8c_48ec_a827_2512f702fd3f_20180114T121946_B08_10m|st|2018-01-14
12:19:46|2018-01-14 12:19:47

GRASS 7.4.0 (accra32630):~ > t.rast.mapcalc input=b4,b8 output=test1
expression="test1 = float(b8 + b4)" basename=test1  --overwrite
Starting temporal sampling...
Starting mapcalc computation...
Ungültige Karte
<S2_0e76f09b_d221_4e88_b7f9_d3S2_0e76f09b_d221_4e88_b7f9_d3b8aad4975d_20180102T140217_B08_10maad4975d_20180102T140217_B04_10m>
Parse error
FEHLER: parse error
ERROR: Error while mapcalc computation

What did this error mean and how can I solve it?

I am looking forward to your help.

Thanks and best regards,

Anika



More information about the grass-user mailing list