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

Chethan S chethanuniversal at gmail.com
Tue Mar 8 05:01:33 EST 2011


Hi all!

As you know landsat data has separate files for different bands. Creating a
subset is a wise option to work on region of our interest. Therefore, I used
this method to subset my image -
d.zoom || g.region
g.region -p
r.mapcalc *subset*=original
as suggested in
http://osgeo-org.1803224.n2.nabble.com/Raster-Map-subset-td4523291.html#a4526819
.

But with this I can subset one band data at a time. Is it somehow possible
to use i.group and region definition to obtain subsets of all bands?
Scripting might be an answer but I have no much idea about it.

Thanks and regards,

Chethan S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110308/89d24691/attachment-0001.html


More information about the grass-user mailing list