[GRASS-user] Creating STRDS from scratch

Rich Shepard rshepard at appl-ecosys.com
Tue Feb 21 10:31:49 PST 2017


On Tue, 21 Feb 2017, Laurent C. wrote:

> So you can set the region, and then use mapcalc like so: r.mapcalc
> exp='rainfall_2013115=0.1' And doing the same for each day.

Laurent,

   Syntax error.

File contents:

'rainfall_20131115 = 0.10'
'rainfall_20131116 = 0.32'
'rainfall_20131117 = 0.10'
   ...
'rainfall_20131208 = 0.23'
'rainfall_20131209 = 0.00'

Command line:
r.mapcalc file=/full/path/to/data/file/pop_daily_precip.txt
syntax error, unexpected ';', expecting '='
Parse error
ERROR: parse error

   I do not see my error.

Rich


More information about the grass-user mailing list