MaxarProductType#

class MaxarProductType(value)[source]#

Bases: ListEnum

Maxar product types.

See here (p. 26)

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"]
Basic = 'System Ready'#

Basic Imagery, also known as System-Ready data. Corresponds to a Level 1B.

Not available in EOReader.

DEM = 'DEM'#

DEM product type.

Not available in EOReader.

Ortho = 'Map Ready'#

Orthorectified Standard Imagery, also known as Map-Ready data (previously Standard Imagery). Corresponds to a Level 3

NMAS mapping scale of the Orthorectified Product:

  • Level 3A: “1:50,000”

  • Level 3D: “1:12,000”

  • Level 3E: “1:10,000”

  • Level 3F: “1:5,000”

  • Level 3G: “1:4,800”

  • Level 3X: “Custom”

Standard = 'View Ready'#

Standard Imagery, also known as View-Ready data (previously Ortho-Ready Standard). Corresponds to a Level 2A (Standard2A or ORStandard2A)

Stereo = 'Stereo'#

Stereo product type.

Not available in EOReader.