[GRASS-user] Parallelizing r.mapcalc

Markus Neteler neteler at osgeo.org
Tue Sep 20 09:25:20 PDT 2022


Hi Frank,

On Thu, Sep 15, 2022 at 2:32 PM Frank David <frank.david at geophom.fr> wrote:
> Is there a way to parallelize r.mapcalc in python scripts with start_command() as it is with other command ?
>
> https://grasswiki.osgeo.org/wiki/Parallelizing_Scripts
>
> It seems to me r.mapcalc.tiled is not using processors at 100%

You may also check the source code of this addon where r.mapcalc is
used in parallel:

https://github.com/OSGeo/grass-addons/blob/grass8/src/raster/r.mapcalc.tiled/r.mapcalc.tiled.py

Markus


More information about the grass-user mailing list