[GRASS-user] r.mapcalc: Syntax Error?
Rich Shepard
rshepard at appl-ecosys.com
Wed Apr 4 19:14:41 EDT 2012
GRASS reports a syntax error running r.mapcalc that I do not see:
GRASS 6.5.svn (Washington-Kinross):~/grassdata > r.mapcalc "weight =
if(tan_curv_5.lm < 0, -100 * tan_curv_5.lm, \
if(tan_curv_7.lm < 0, -100 * tan_curv_7.lm, \
if(tan_curv_11.lm < 0, -100 * tan_curv_11.lm, 0.000001)))"
syntax error, unexpected ';'
Parse error
[Raster MASK present]
Since there is no semi-colon in the command, what is grass trying to tell
me?
Rich
More information about the grass-user
mailing list