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

Carlos Grohmann carlos.grohmann at gmail.com
Tue Jan 18 20:33:26 EST 2011

OK then.

I'll use some other resampling in the meanwhile.



On Tue, Jan 18, 2011 at 22:25, Glynn Clements <glynn at gclements.plus.com> wrote:
> Carlos Grohmann wrote:
>> 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
> This is an issue with r.resamp.rst rather than Python scripting. It's
> currently waiting for someone who understands the module to update it
> for 7.0.
> --
> Glynn Clements <glynn at gclements.plus.com>

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