[GRASS-user] python scripting: changing region settings reiases error

Carlos Grohmann carlos.grohmann at gmail.com
Tue Jan 18 15:35:07 EST 2011

Hello all,

First, let me apologize for any inconvenient I might caused yesterday.
Someone from China hacked my gmail account and sent lots of spams.
After setting uo a new and much stronger password, ans also revoking
access to some suspicious address, everything looks fine.

Now, I'm working on a python script, and at some point I want to
resample the elevation raster with r.resample.rst.

the problem is, this raises an error:

>>> grass.run_command("r.resamp.rst", input='elev_filter', elev='newdem', ew_res=newres, ns_res=newres, slope=slope, aspect=aspect, overwrite=True, verbose=True)
Processing all selected output files will require
3690732 bytes of disk space for temp files.
Temporarily changing the region to desired resolution ...
ERROR: Input window changed while maps are open for read



Prof. Carlos Henrique Grohmann - Geologist D.Sc.
Institute of Geosciences - Univ. of São Paulo, Brazil
Linux User #89721
Can’t stop the signal.

More information about the grass-user mailing list