[GRASS-dev] [GRASS GIS] #3475: r.mapcalc expression does not accept fully qualified map name as an output
GRASS GIS
trac at osgeo.org
Fri Jan 25 23:53:45 PST 2019
#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 at 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 at examples =
land_suitability at 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>
More information about the grass-dev
mailing list