[GRASS-git] [OSGeo/grass] 9a61f3: grass.temporal: Use r.mapcalc nprocs=1 in parallel...
Vaclav Petras
noreply at github.com
Thu Nov 6 14:32:20 PST 2025
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 9a61f34e0968eaf304905ab05de0a69ab8d498c6
https://github.com/OSGeo/grass/commit/9a61f34e0968eaf304905ab05de0a69ab8d498c6
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2025-11-06 (Thu, 06 Nov 2025)
Changed paths:
M python/grass/temporal/extract.py
M python/grass/temporal/mapcalc.py
M python/grass/temporal/temporal_raster_algebra.py
Log Message:
-----------
grass.temporal: Use r.mapcalc nprocs=1 in parallel code (#6582)
In the grass.temporal code, r.mapcalc runs in parallel as multiple processes, so r.mapcalc itself should be using only one core. This adds nprocs=1 to the r.mapcalc usages in grass.temporal. (The calls are direct calls through pygrass Module or gs.run_command, but not through gs.mapcalc.)
Notably, pygrass Module requires the run-underscore-false parameter when at least one parameter is present to not run the tool prematurely.
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list