Opened 6 years ago

Closed 3 years ago

#1984 closed enhancement (worksforme)

i.pca should accept also group names as input (like r.out.gdal)

Reported by: neteler Owned by: grass-dev@…
Priority: normal Milestone: 7.0.5
Component: Imagery Version: svn-trunk
Keywords: i.pca, r.out.gdal Cc:
CPU: All Platform: All

Description

When analysing multispectral data, it is common and convenient to use an imagery group as input instead of a list of raster map names.

The r.out.gdal module supports both raster map and group names input, the same approach is desired for i.pca.

Change History (6)

comment:1 Changed 6 years ago by neteler

Type: defectenhancement

comment:2 in reply to:  description Changed 6 years ago by mmetz

Replying to neteler:

When analysing multispectral data, it is common and convenient to use an imagery group as input instead of a list of raster map names.

An imagery group as input is accepted as of r56494.

comment:3 Changed 6 years ago by hamish

Keywords: i.pca r.out.gdali.pca, r.out.gdal

in the case of i.pca, do the order of map inputs matter? order within the group may be predictable, but is it guaranteed long-term?

Hamish

ps- AFAIK it's undocumented, but trac parses keywords on commas internally.

comment:4 in reply to:  3 Changed 6 years ago by mmetz

Replying to hamish:

in the case of i.pca, do the order of map inputs matter? order within the group may be predictable, but is it guaranteed long-term?

The order does not matter for the output maps (PC scores), but does matter for the vectors (loadings), since each loading refers to a specific input band.

comment:5 Changed 3 years ago by martinl

Milestone: 7.0.07.0.5

comment:6 Changed 3 years ago by martinl

Resolution: worksforme
Status: newclosed

Seems to be already done

    input   Name of two or more input raster maps or imagery group

Closing, feel free reopen if needed.

Note: See TracTickets for help on using tickets.