[GRASS-user] i.pca with multiple input bands

Hi there

Is there any way to specify multiple input bands to i.pca? I'm working with
aviris data which has 224 bands and it'd be a disaster having to put each
band like

i.pca input=band1@PERMANENT,band2@PERMANENT, ..., band224@PERMANENT

I tried input=band*@PERMANENT and it doesn't work.

Thanks a lot.
--
View this message in context: http://n2.nabble.com/i-pca-with-multiple-input-bands-tp4046561p4046561.html
Sent from the Grass - Users mailing list archive at Nabble.com.

2009/11/22 pdu <du@cs.utk.edu>:

i.pca input=band1@PERMANENT,band2@PERMANENT, ..., band224@PERMANENT

input=`g.mlist type=rast pattern=band*`

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

On Sun, Nov 22, 2009 at 4:39 PM, Martin Landa <landa.martin@gmail.com> wrote:

2009/11/22 pdu <du@cs.utk.edu>:

i.pca input=band1@PERMANENT,band2@PERMANENT, ..., band224@PERMANENT

input=`g.mlist type=rast pattern=band*`

Small correction (add sep=","):

i.pca input=`g.mlist type=rast pattern=band* sep=","` out=...

otherwise the list won't be properly comma separated.

Markus

Thanks Martin. It works!

Peng

Martin Landa [via OSGeo.org] wrote:

2009/11/22 pdu <[hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4046562&i=0>>:

i.pca input=band1@PERMANENT,band2@PERMANENT, …, band224@PERMANENT

input=g.mlist type=rast pattern=band*

Martin


Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
<http://gama.fsv.cvut.cz/%7Elanda>


grass-user mailing list
[hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4046562&i=1>
http://lists.osgeo.org/mailman/listinfo/grass-user


View message @
http://n2.nabble.com/i-pca-with-multiple-input-bands-tp4046561p4046562.html

To unsubscribe from i.pca with multiple input bands, click here
<>.


View this message in context: Re: [GRASS-user] i.pca with multiple input bands
Sent from the Grass - Users mailing list archive at Nabble.com.

On Sun, 2009-11-22 at 07:38 -0800, pdu wrote:

Hi there

Is there any way to specify multiple input bands to i.pca? I'm working with
aviris data which has 224 bands and it'd be a disaster having to put each
band like

i.pca input=band1@PERMANENT,band2@PERMANENT, ..., band224@PERMANENT
I tried input=band*@PERMANENT and it doesn't work.

Thanks a lot.

I was messing around for quite some time with i.pca but never tried with
so many "bands". Does this really work for you (224 bands)?

Thanks, Nikos