"If you change region in C or using ctypes in Python, it is affecting
only the current process." [0].
Therefore the pygrass Region, that it is using C through ctypes, it is
working only on the current process.
"On the hand, if you change region using g.region, only region for
subprocesses is changed but library functions are not affected. So, g.region
will affect pygrass.modules.Module but not pygrass.raster, pygrass.vector
and others." [1]
“If you change region in C or using ctypes in Python, it is affecting
only the current process.” [0].
Therefore the pygrass Region, that it is using C through ctypes, it is
working only on the current process.
“On the hand, if you change region using g.region, only region for
subprocesses is changed but library functions are not affected. So, g.region
will affect pygrass.modules.Module but not pygrass.raster, pygrass.vector
and others.” [1]