[GRASS-user] Re: Subset several bands of data at one go

Gabriele N. gis.gn at libero.it
Tue Mar 8 13:43:24 EST 2011

Ciao Chetan.

I do not know if I understand your problem.
I advise you to create a mask (which defines the area in respect of which
"cut" the raster) and call the raster with similar names (eg landsat_1,

At this point you should do something like this:

for i in ` g.mlist type=rast pattern=land* ` 
	r.mapcalc $i = "( $i )"



View this message in context: http://osgeo-org.1803224.n2.nabble.com/Subset-several-bands-of-data-at-one-go-tp6118506p6134798.html
Sent from the Grass - Users mailing list archive at Nabble.com.

More information about the grass-user mailing list