fmeobjects.FMERaster.getBand

FMERaster.getBand(bandIndex)

Returns a band from the raster based on its numbered order in the raster.

Parameters

bandIndex (int) – Index number of the band.

Return type

FMEBand

Returns

A band from the raster.

Raises

FMEException – An exception is raised if an error occurred.