Constellation#

class Constellation(value)[source]#

Bases: ListEnum

Constellation supported by EOReader

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 get_real_constellations()[source]#

Get only constellations of existing satellite (discard CUSTOM, templates, flavors etc.)

classmethod is_real_constellation(const: Constellation)[source]#

Is the given constellation a real one?

Parameters:

const (Constellation) – Constellation to check

Returns:

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"]
CAPELLA = 'Capella'#

Capella

CSG = 'COSMO-SkyMed 2nd Generation'#

COSMO-SkyMed 2nd Generation

CSK = 'COSMO-SkyMed'#

COSMO-SkyMed

CUSTOM = 'CUSTOM'#

Custom stack

GE01 = 'GeoEye-1'#

GeoEye-1

GS2 = 'GEOSAT-2'#

GEOSAT-2 (ex. DEIMOS-2)

HLS = 'HLS'#

Harmonized Landsat-Sentinel

Considered as a new constellation as the products are completely different from Sentinel-2 and Landsat.

ICEYE = 'ICEYE'#

ICEYE

L1 = 'Landsat-1'#

Landsat-1

L2 = 'Landsat-2'#

Landsat-2

L3 = 'Landsat-3'#

Landsat-3

L4 = 'Landsat-4'#

Landsat-4

L5 = 'Landsat-5'#

Landsat-5

L7 = 'Landsat-7'#

Landsat-7

L8 = 'Landsat-8'#

Landsat-8

L9 = 'Landsat-9'#

Landsat-9

MAXAR = 'Maxar'#

Maxar (not a real constellation, but used as a template for every Maxar products)

PAZ = 'PAZ SAR'#

SEOSAR/PAZ SAR

PLA = 'PlanetScope'#

PlanetScope

PLD = 'Pleiades'#

Pléiades

PNEO = 'Pleiades-Neo'#

Pleiades-Néo

QB02 = 'QuickBird'#

QuickBird

RCM = 'RADARSAT-Constellation Mission'#

RADARSAT-Constellation Mission

RE = 'RapidEye'#

RapidEye

RS2 = 'RADARSAT-2'#

RADARSAT-2

S1 = 'Sentinel-1'#

Sentinel-1

S1_RTC_ASF = 'Sentinel-1 RTC ASF'#

//hyp3-docs.asf.alaska.edu/guides/rtc_product_guide/

Not a real constellation, only used for regex.

Type:

Sentinel-1 RTC processed by ASF

Type:

https

S1_RTC_MPC = 'Sentinel-1 RTC MPC'#

//planetarycomputer.microsoft.com/dataset/sentinel-1-rtc

Not a real constellation, only used for regex.

Type:

Sentinel-1 RTC processed by MPC

Type:

https

S2 = 'Sentinel-2'#

Sentinel-2

S2_E84 = 'Sentinel-2 stored on AWS and processed by Element84'#

Sentinel-2 stored on AWS and processed by Element84: - Element84: arn:aws:s3:::sentinel-cogs - https://registry.opendata.aws/sentinel-2-l2a-cogs

Not a real constellation, only used for regex.

S2_MPC = 'Sentinel-2 stored on Azure and processed by Microsoft Planetary Computer'#

Sentinel-2 stored on Azure and processed by Microsoft Planetary Computer: https://planetarycomputer.microsoft.com/dataset/sentinel-2-l2a

Not a real constellation, only used for regex.

S2_SIN = 'Sentinel-2 stored on AWS and processed by Sinergise'#

Sentinel-2 stored on AWS and processed by Sinergise: arn:aws:s3:::sentinel-s2-l1c and arn:aws:s3:::sentinel-s2-l2a - https://registry.opendata.aws/sentinel-2/

Not a real constellation, only used for regex.

S2_THEIA = 'Sentinel-2 Theia'#

Sentinel-2, reprocessed by Theia.

Considered as a new constellation as the product is completely different different from Sentinel-2.

S3_OLCI = 'Sentinel-3 OLCI'#

Sentinel-3 OLCI

S3_SLSTR = 'Sentinel-3 SLSTR'#

Sentinel-3 SLSTR

SAOCOM = 'SAOCOM-1'#

SAOCOM-1

SKY = 'SkySat'#

SkySat

SPOT4 = 'Spot-4'#

SPOT-4

SPOT45 = 'Spot-4/5'#

SPOT-4/5 (not a real constellation, but used as a template for SPOT4/5 products)

SPOT5 = 'Spot-5'#

SPOT-5

SPOT6 = 'Spot-6'#

SPOT-6

SPOT7 = 'Spot-7'#

SPOT-7

SV1 = 'SuperView-1'#

SuperView-1

TDX = 'TanDEM-X'#

TanDEM-X

TSX = 'TerraSAR-X'#

TerraSAR-X

UMBRA = 'Umbra'#

Umbra

VIS1 = 'Vision-1'#

Vision-1

WV01 = 'WorldView-1'#

WorldView-1

WV02 = 'WorldView-2'#

WorldView-2

WV03 = 'WorldView-3'#

WorldView-3

WV04 = 'WorldView-4'#

WorldView-4

WVLG = 'WorldView Legion'#

WorldView Legion