[GRASS-dev] i.topo.corr ported to GRASS 7

Markus Neteler neteler at osgeo.org
Thu Aug 11 17:17:36 EDT 2011


On Sun, Aug 7, 2011 at 7:07 AM, Glynn Clements <glynn at gclements.plus.com> wrote:
>
> Markus Neteler wrote:
>
>> ERROR: Input window changed while maps are open for read
>
> The window shouldn't be changed while any maps are open.
>
> AFAICT, the intention is to perform all processing at the map's native
> resolution, right? In which case ...
>
> In main.c, Rast_set_window() should be called before the map is
> opened.

Thanks much better now.

I have updated the test script

grass-addons/grass7/imagery/i.topo.corr/test_i.topo.corr_synthetic_DEM_NC.sh

accordingly.

This problem remains:

i.topo.corr input=myplane_pyr_band output=myplane_pyr_topocorr_percent
basemap=myplane_pyr_illumination zenith=45.652668 method=percent
Band myplane_pyr_band:
ERROR: Input window changed while maps are open for read

Most output of i.topo.corr looks as in GRASS 6 now.

BTW: the test_i.topo.corr_synthetic_DEM_NC.sh is a
good test for the new d.mon solution. There still seem
to be some race conditions when working with multiple
monitors.

Markus


More information about the grass-dev mailing list