[GRASS-dev] [bug #4742] (grass) i.fusion.brovey, i.in.spotvgt, v.rast.stats: don't use g.region

Glynn Clements glynn at gclements.plus.com
Wed Jun 28 12:34:59 EDT 2006


Glynn Clements wrote:

> You don't need to touch the current region at all. Just:
> 
> 	g.region rast=$input save=region.tmp.$$
> 	WIND_OVERRIDE=region.tmp.$$
> 	export WIND_OVERRIDE
> 	do_stuff()
> 	g.remove region=region.tmp.$$

Oops; the first g.region also needs the -u switch.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list