SnapDems#

class SnapDems(value)[source]#

Bases: ListEnum

DEM available in SNAP for the Terrain Correction module

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

ACE2_5Min, Altimeter Corrected Elevations, Version 2

ACE30 = 'ACE30'#

Altimeter Corrected Elevations

Type:

ACE30

ASTER = 'ASTER 1sec GDEM'#

Advanced Spaceborne Thermal Emission and Reflection Radiometer

Type:

ASTER 1sec GDEM

EXT_DEM = 'External DEM'#
GETASSE30 = 'GETASSE30'#

Global Earth Topography And Sea Surface Elevation at 30 arc second resolution

Type:

GETASSE30

GLO_30 = 'Copernicus 30m Global DEM'#

Copernicus 30m Global DEM

GLO_90 = 'Copernicus 90m Global DEM'#

Copernicus 90m Global DEM

SRTM_1SEC = 'SRTM 1Sec HGT'#

Shuttle Radar Topography Mission

Type:

SRTM 1Sec HGT

SRTM_3SEC = 'SRTM 3Sec'#

Shuttle Radar Topography Mission

Type:

SRTM 3Sec