MaxarBandId#

class MaxarBandId(value)[source]#

Bases: ListEnum

Maxar products band ID

See here (p. 24)

classmethod convert_from(to_convert: list | str) list#

Convert from a list or a string to an enum instance

Parameters:

to_convert (Union[list, str]) – List or string to convert into an enum instance

Returns:

Converted list

Return type:

list

Example

>>> TsxPolarization.convert_from(["SINGLE", "S", TsxPolarization.QUAD])
[<TsxPolarization.SINGLE: 'S'>, <TsxPolarization.SINGLE: 'S'>, <TsxPolarization.QUAD: 'Q'>]
classmethod from_value(val: Any) ListEnum#

Get the enum class from its value:

Parameters:

val (Any) – Value of the Enum

Returns:

Enum with value

Return type:

ListEnum

Example

>>> TsxPolarization.from_value("Q")
<TsxPolarization.QUAD: 'Q'>
classmethod list_names() list#

Get the name list of this enum:

Example

>>> TsxPolarization.list_values()
["SINGLE", "DUAL", "QUAD", "TWIN"]
classmethod list_values() list#

Get the value list of this enum

Example

>>> TsxPolarization.list_values()
["S", "D", "Q", "T"]
B = 'BLUE'#

Blue

BGRN = 'BGRN Pan-Sharpened'#

Blue + Green + Red + Near-IR Pan-sharpened color images, stored at the panchromatic spatial resolution.

C = 'Coastal'#

Coastal

G = 'GREEN'#

Green

MS1 = 'Multi Spectral 1'#

First 4 bands (N,R,G,B)

MS2 = 'Multi Spectral 2'#

Second 4 bands (N2,RE,Y,C)

Multi = 'Multi Spectral'#

All VNIR Multi-spectral bands (4 for QB02,GE01 and 8 for WV02, WV03)

N = 'NIR'#

Near-InfraRed

N2 = 'NIR2'#

NIR2

NRG = 'NRG'#

Near-IR + Red + Green Pan-sharpened color images, stored at the panchromatic spatial resolution.

P = 'Panchromatic'#

Panchromatic

R = 'RED'#

Red

RE = 'Red-Edge'#

NIR2

RGB = 'RGB'#

Red + Green + Blue Pan-sharpened color images, stored at the panchromatic spatial resolution.

Y = 'Yellow'#

Yellow