[GRASS-user] python grass script error

Massimiliano Cannata massimiliano.cannata at supsi.ch
Fri Jul 1 23:47:16 PDT 2016


I assume it is not acceptable that you create a map in a different mapset
from your. Maybe you could change the mapset, mapcalc and switch again back.

Maxi
Il 02/Lug/2016 05:54, "Vinay Elothunkal" <vinay223333 at gmail.com> ha scritto:

> Hi Paulo,
>
> Thanks for your reply, I guess I didnt explain the question properly ,
> Inherently the problem is residing in @ mark as it shown in below
> example...
>
> GRASS 7.0.4 (Peureto_rico):~/Home_copy/ > r.mapcalc
> Enter expressions, "end" when done.
> mapcalc> test10=Senti_AOI1_NIR_10m at Sentinel2+Senti_AOI1_SWIR_20m@Sentinel2
> mapcalc>
>  100%
> GRASS 7.0.4 (Peureto_rico):~/Home_copy/ > r.mapcalc
> Enter expressions, "end" when done.
> mapcalc> test10 at Sentinel2=Senti_AOI1_NIR_10m at Sentinel2
> +Senti_AOI1_SWIR_20m at Sentinel2
> syntax error, unexpected '@', expecting '('
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160702/7113211e/attachment.html>


More information about the grass-user mailing list