Gs2ProductType#
- class Gs2ProductType(value)[source]#
Bases:
ListEnum
GEOSAT-2 product types (processing levels) See here 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"]
- L1B = 'Level 1B'#
A calibrated and radiometrically corrected product, but not resampled. The geometric information is contained in a rational polynomial. The product includes: the Rational Polynomial Coefficients (RPC); the metadata with gain and bias values for each band, needed to convert the digital numbers into radiances at pixel level, and information about geographic projection (EPGS), corners geolocation, etc.
- L1C = 'Level 1C'#
A calibrated and radiometrically corrected product, manually orthorectified and resampled to a map grid up to 75cm resolution. The geometric information is contained in the GeoTIFF tags. By default, the reference base for orthorectification is Google Earth. Other user-provided bases can be used on demand. Typical geometric error of this product is <10 m CE90, although lower geometric errors could be requested if needed.
- L1D = 'Level 1D'#
A calibrated and radiometrically corrected product, manually orthorectified and resampled to a map grid up to 40cm resolution. The geometric information is contained in the GeoTIFF tags.
- L1S = 'Level 1S'#
A calibrated and radiometrically corrected product, with enhanced resolution due to an AI-based process without losing quality. The geometric information is contained in a rational polynomial. The product includes: - the Rational Polynomial Coefficients (RPC); - the metadata with gain and bias values for each band, needed to convert the digital numbers into radiances at pixel level, - and information about geographic projection (EPGS), corners geolocation, etc.