#3475: r.mapcalc expression does not accept fully qualified map name as an output --------------------------+------------------------- Reporter: marisn | Owner: grass-dev@… Type: defect | Status: new Priority: minor | Milestone: 7.2.4 Component: Raster | Version: svn-trunk Resolution: | Keywords: r.mapcalc CPU: Unspecified | Platform: Unspecified --------------------------+-------------------------
Comment (by Nikos Alexandris): Is there any activity on this? I have the following pending for a recently published add-on: {{{#!python /osgeo/grasstrunk/dist.x86_64-pc-linux-gnu/scripts/r.estimap.recreation --overwrite land=land_suitability@examples potential=potential syntax error, unexpected '@', expecting '(' Parse error ERROR: parse error Traceback (most recent call last): File "/osgeo/grasstrunk/dist.x86_64-pc-linux- gnu/scripts/r.estimap.recreation", line 4103, in <module> sys.exit(main()) File "/osgeo/grasstrunk/dist.x86_64-pc-linux- gnu/scripts/r.estimap.recreation", line 3631, in main r.mapcalc(subset_land) File "/osgeo/grasstrunk/dist.x86_64-pc-linux- gnu/etc/python/grass/pygrass/modules/interface/module.py", line 651, in __call__ return self.run() File "/osgeo/grasstrunk/dist.x86_64-pc-linux- gnu/etc/python/grass/pygrass/modules/interface/module.py", line 772, in run self.wait() File "/osgeo/grasstrunk/dist.x86_64-pc-linux- gnu/etc/python/grass/pygrass/modules/interface/module.py", line 797, in wait module=self.name, errors=stderr) grass.exceptions.CalledModuleError: Module run r.mapcalc r.mapcalc expression=tmp.5319.8.land_suitability@examples = land_suitability@examples region=current ended with error Process ended with non-zero return code 1. See errors in the (error) output. Removing temporary files }}} Reading Glynn's last comment https://trac.osgeo.org/grass/ticket/676#comment:12, do I understand correctly that I should take care to strip '@mapset' part at the add- on/module level? -- Ticket URL: <https://trac.osgeo.org/grass/ticket/3475#comment:2> GRASS GIS <https://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev