PlaInstrument#
- class PlaInstrument(value)[source]#
Bases:
ListEnum
PlanetScope instrument See Planet documentation for more information.
- 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:
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"]
- PS2 = 'Dove Classic (PS2)'#
Four-band frame Image with a split-frame VIS+NIR filter
- Type:
Dove Classic (PS2) Instrument
- PS2_SD = 'Dove-R (PS2.SD)'#
Dove-R (PS2.SD) Instrument: Four-band frame imager with butcher-block filter providing blue, green, red,and NIR stripes
- PSB_SD = 'SuperDove (PSB.SD)'#
SuperDove (PSB.SD) Instrument: Eight-band frame imager with butcher-block filter providing:
coastal blue,
blue,
green I,
green II,
yellow,
red,
red-edge,
NIR stripes