[GRASS-user] Use of g.mlist inside r.series
Brian Sanjeewa Rupasinghe
jinkabs at gmail.com
Thu Jan 10 04:56:02 PST 2013
Hi,
I am using following Python code to add all raster maps with wildcard name:
viewshed*.
grass.run_command ("r.series", input="`g.mlist pattern = 'viewshed*' sep =,
`", output = 'xx', method = 'sum')
But it does not work saying:
WARNING: Illegal filename <`g.mlist pattern = 'viewshed*' sep =>. Character
< > not allowed.
ERROR: Raster map <`g.mlist pattern = 'viewshed*' sep => not found
What is the possible error? I am using GRASS in Windows7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130110/7ed5325f/attachment.html>
More information about the grass-user
mailing list