[GRASS-dev] pygrass - r.report

Pietro peter.zamb at gmail.com
Thu Oct 17 03:48:37 PDT 2013


Hi Martin,

On Thu, Oct 17, 2013 at 11:34 AM, Martin Landa <landa.martin at gmail.com> wrote:
> Is it a bug in pyGRASS or I am wrong?

Thank you for using and testing... :-)
It is working, at least on my pc. The pygrass Module interface require
tu give a python list if you have a multiple parameter, so your code
should work writing:

{{{
from grass.pygrass.modules.shortcuts import raster as r

r.report(map='r_ndvi', units=['c', 'p', 'h'])
}}}

Please, let me know...

Have a nice day.

Pietro


More information about the grass-dev mailing list