[GRASS-user] Creating STRDS from scratch

Laurent C. lrntct at gmail.com
Tue Feb 21 11:01:14 PST 2017


Rich,

I'm not familiar with the 'file' option in r.mapcalc. Maybe removing
the quotes will do?

Laurent

2017-02-21 12:31 GMT-06:00 Rich Shepard <rshepard at appl-ecosys.com>:
> 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
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list