RcmProductType#

class RcmProductType(value)[source]#

Bases: ListEnum

RADARSAT-Constellation projection identifier. Take a look here.

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

GCC represents GeoCoded Complex products.

GCD = 'GCD'#

GCD represents GeoCoded Detected products. GCD is equivalent to an SSG or SPG product for RADARSAT-1 or RADARSAT-2.

GRC = 'GRC'#

GRC represents GRound range, georeferenced, Complex products.

GRD = 'GRD'#

GRD represents GRound range, georeferenced, Detected. GRD is equivalent to an SGX, SCN, or SCW product for RADARSAT-1 or RADARSAT-2.

MLC = 'MLC'#

MLC represent Multi-Look slant range Complex products. It is for dual Co-/Cross-Polarization1 or Compact Polarization which is a spatially averaged version of the SLC product condensed to a single multi-burst image of the covariance matrix elements. The covariance matrix elements consist of two real diagonal elements |xH|2 and |xV|2, and a complex off-diagonal element xH*conj(xV) where x is either Circular, H or V depending on the SLC product polarization setting and conj denotes the complex conjugate.

SLC = 'SLC'#

SLC represents a SLant range, georeferenced Complex product. It is equivalent to a single-look complex product for RADARSAT-1 or RADARSAT-2).