SlstrStripe#
- class SlstrStripe(value)[source]#
Bases:
ListEnum
Sentinel-3 SLSTR stripes for 500m data: A and B
- Used in the context:
“an” and “ao” refer to the 500 m grid, stripe A, respectively for nadir view (n) and oblique view (o)
“bn” and “bo” refer to the 500 m grid, stripe B
“cn” and “co” refer to the 500 m grid, TDI
“in” and “io” refer to the 1 km grid
“fn” and “fo” refer to the F1 channel 1 km grid
- 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"]
- A = 'a'#
Stripe A (a)
- B = 'b'#
Stripe B (b)
- F = 'f'#
Not really a stripe, but refers to the F1 channel 1 km grid
- I = 'i'#
Not really a stripe, but refers to the 1 km grid
- TDI(c) = 'c'#
TDI (c)