[GRASS-dev] new addon: v.what.rast.multi

Moritz Lennert mlennert at club.worldonline.be
Fri May 12 05:32:12 PDT 2017


On 10/05/17 23:49, Pierre Roudier wrote:
> Thanks Luca, that would be a good idea indeed!
>
> Any pointers to implement this? I'm unfamiliar with parallel processing
> in Pygrass.

You can look at i.pansharpen for a simple example:

https://trac.osgeo.org/grass/browser/grass/branches/releasebranch_7_2/scripts/i.pansharpen/i.pansharpen.py#L151

or for a bit more sophisticated handling using PyGRASS:

https://grass.osgeo.org/grass72/manuals/libpython/pygrass.modules.interface.html#pygrass.modules.interface.module.ParallelModuleQueue

Other examples exist (cf i.segment.uspo for example)

Moritz



More information about the grass-dev mailing list