Implementation of EOPF processors based on GenericProcessor.
Processors: S1L0, S3L0, S1ARD, S3OLCI.
MockupProcessor
Bases: GenericProcessor
Mockup Processor implementation
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| class MockupProcessor(GenericProcessor):
"""Mockup Processor implementation"""
def __init__(self, db_process_manager: PostgreSQLManager, cluster_info: ClusterInfo):
"""
Initialize MockupProcessor
"""
super().__init__(
db_process_manager=db_process_manager,
cluster_info=cluster_info,
local_mode_address="DASK_GATEWAY_EOPF_MOCKUP_ADDRESS",
)
async def get_tasktable(self):
"""Return the EOPF tasktable"""
return _load_tasktable("TaskTable_MOCKUP_generated_by_rs_python_v1.json")
|
__init__(db_process_manager, cluster_info)
Initialize MockupProcessor
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| def __init__(self, db_process_manager: PostgreSQLManager, cluster_info: ClusterInfo):
"""
Initialize MockupProcessor
"""
super().__init__(
db_process_manager=db_process_manager,
cluster_info=cluster_info,
local_mode_address="DASK_GATEWAY_EOPF_MOCKUP_ADDRESS",
)
|
get_tasktable()
async
Return the EOPF tasktable
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| async def get_tasktable(self):
"""Return the EOPF tasktable"""
return _load_tasktable("TaskTable_MOCKUP_generated_by_rs_python_v1.json")
|
S1ARDProcessor
Bases: GenericProcessor
S1ARD Processor implementation
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| class S1ARDProcessor(GenericProcessor):
"""S1ARD Processor implementation"""
def __init__(self, db_process_manager: PostgreSQLManager, cluster_info: ClusterInfo):
"""
Initialize S1ARDProcessor
"""
super().__init__(
db_process_manager=db_process_manager,
cluster_info=cluster_info,
local_mode_address="DASK_GATEWAY_S1ARD_ADDRESS",
tasktable_module="s1_ard.computing.ard_processing_units",
# NOTE: not implemented for now... and maybe we should be able to return the
# tasktable for each different processing: Calibration, ReferenceDEM, ReferenceGeometry, ...
tasktable_class="Calibration",
)
async def get_tasktable(self):
"""Return the EOPF tasktable"""
return _load_tasktable("TaskTable_S1_ARD_generated_by_rs_python_v1.json")
|
__init__(db_process_manager, cluster_info)
Initialize S1ARDProcessor
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| def __init__(self, db_process_manager: PostgreSQLManager, cluster_info: ClusterInfo):
"""
Initialize S1ARDProcessor
"""
super().__init__(
db_process_manager=db_process_manager,
cluster_info=cluster_info,
local_mode_address="DASK_GATEWAY_S1ARD_ADDRESS",
tasktable_module="s1_ard.computing.ard_processing_units",
# NOTE: not implemented for now... and maybe we should be able to return the
# tasktable for each different processing: Calibration, ReferenceDEM, ReferenceGeometry, ...
tasktable_class="Calibration",
)
|
get_tasktable()
async
Return the EOPF tasktable
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| async def get_tasktable(self):
"""Return the EOPF tasktable"""
return _load_tasktable("TaskTable_S1_ARD_generated_by_rs_python_v1.json")
|
S1L0Processor
Bases: GenericProcessor
S1L0 Processor implementation
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| class S1L0Processor(GenericProcessor):
"""S1L0 Processor implementation"""
def __init__(self, db_process_manager: PostgreSQLManager, cluster_info: ClusterInfo):
"""
Initialize S1L0Processor
"""
super().__init__(
db_process_manager=db_process_manager,
cluster_info=cluster_info,
local_mode_address="DASK_GATEWAY_L0_ADDRESS",
tasktable_module="l0.s1.s1_l0_processor",
tasktable_class="S1L0Processor",
)
async def get_tasktable(self):
"""Return the EOPF tasktable"""
return _load_tasktable("TaskTable_S1_L0_generated_by_rs_python_v1.json")
|
__init__(db_process_manager, cluster_info)
Initialize S1L0Processor
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| def __init__(self, db_process_manager: PostgreSQLManager, cluster_info: ClusterInfo):
"""
Initialize S1L0Processor
"""
super().__init__(
db_process_manager=db_process_manager,
cluster_info=cluster_info,
local_mode_address="DASK_GATEWAY_L0_ADDRESS",
tasktable_module="l0.s1.s1_l0_processor",
tasktable_class="S1L0Processor",
)
|
get_tasktable()
async
Return the EOPF tasktable
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| async def get_tasktable(self):
"""Return the EOPF tasktable"""
return _load_tasktable("TaskTable_S1_L0_generated_by_rs_python_v1.json")
|
S3L0Processor
Bases: GenericProcessor
S3L0 Processor implementation
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| class S3L0Processor(GenericProcessor):
"""S3L0 Processor implementation"""
def __init__(self, db_process_manager: PostgreSQLManager, cluster_info: ClusterInfo):
"""
Initialize S3L0Processor
"""
super().__init__(
db_process_manager=db_process_manager,
cluster_info=cluster_info,
local_mode_address="DASK_GATEWAY_L0_ADDRESS",
tasktable_module="l0.s3.s3_l0_processor",
tasktable_class="S3L0Processor",
)
async def get_tasktable(self):
"""Return the EOPF tasktable"""
return _load_tasktable("TaskTable_S3_L0_generated_by_rs_python_v1.json")
|
__init__(db_process_manager, cluster_info)
Initialize S3L0Processor
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| def __init__(self, db_process_manager: PostgreSQLManager, cluster_info: ClusterInfo):
"""
Initialize S3L0Processor
"""
super().__init__(
db_process_manager=db_process_manager,
cluster_info=cluster_info,
local_mode_address="DASK_GATEWAY_L0_ADDRESS",
tasktable_module="l0.s3.s3_l0_processor",
tasktable_class="S3L0Processor",
)
|
get_tasktable()
async
Return the EOPF tasktable
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| async def get_tasktable(self):
"""Return the EOPF tasktable"""
return _load_tasktable("TaskTable_S3_L0_generated_by_rs_python_v1.json")
|
S3L1OLCIProcessor
Bases: GenericProcessor
S3 L1 OLCI Processor implementation
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| class S3L1OLCIProcessor(GenericProcessor):
"""S3 L1 OLCI Processor implementation"""
def __init__(self, db_process_manager: PostgreSQLManager, cluster_info: ClusterInfo):
"""
Initialize S3 L1 OLCI Processor
"""
super().__init__(
db_process_manager=db_process_manager,
cluster_info=cluster_info,
local_mode_address="DASK_GATEWAY_S3OLCI_ADDRESS",
tasktable_module="s3olci.s3_ol1.ol1_processor",
tasktable_class="OL1Processor",
)
async def get_tasktable(self):
"""Return the EOPF tasktable"""
return _load_tasktable("TaskTable_S3_L1OLCI_generated_by_rs_python_v1.json")
|
__init__(db_process_manager, cluster_info)
Initialize S3 L1 OLCI Processor
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| def __init__(self, db_process_manager: PostgreSQLManager, cluster_info: ClusterInfo):
"""
Initialize S3 L1 OLCI Processor
"""
super().__init__(
db_process_manager=db_process_manager,
cluster_info=cluster_info,
local_mode_address="DASK_GATEWAY_S3OLCI_ADDRESS",
tasktable_module="s3olci.s3_ol1.ol1_processor",
tasktable_class="OL1Processor",
)
|
get_tasktable()
async
Return the EOPF tasktable
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| async def get_tasktable(self):
"""Return the EOPF tasktable"""
return _load_tasktable("TaskTable_S3_L1OLCI_generated_by_rs_python_v1.json")
|
S3L2OLCIProcessor
Bases: GenericProcessor
S3 L2 OLCI Processor implementation
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| class S3L2OLCIProcessor(GenericProcessor):
"""S3 L2 OLCI Processor implementation"""
def __init__(self, db_process_manager: PostgreSQLManager, cluster_info: ClusterInfo):
"""
Initialize S3 L2 OLCI Processor
"""
super().__init__(
db_process_manager=db_process_manager,
cluster_info=cluster_info,
local_mode_address="DASK_GATEWAY_S3OLCI_ADDRESS",
tasktable_module="s3olci.s3_ol2.ol2_processor",
tasktable_class="OL2Processor",
)
async def get_tasktable(self):
"""Return the EOPF tasktable"""
return _load_tasktable("TaskTable_S3_L2OLCI_generated_by_rs_python_v1.json")
|
__init__(db_process_manager, cluster_info)
Initialize S3 L2 OLCI Processor
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| def __init__(self, db_process_manager: PostgreSQLManager, cluster_info: ClusterInfo):
"""
Initialize S3 L2 OLCI Processor
"""
super().__init__(
db_process_manager=db_process_manager,
cluster_info=cluster_info,
local_mode_address="DASK_GATEWAY_S3OLCI_ADDRESS",
tasktable_module="s3olci.s3_ol2.ol2_processor",
tasktable_class="OL2Processor",
)
|
get_tasktable()
async
Return the EOPF tasktable
Source code in docs/rs-dpr-service/rs_dpr_service/processors/eopf_processors.py
| async def get_tasktable(self):
"""Return the EOPF tasktable"""
return _load_tasktable("TaskTable_S3_L2OLCI_generated_by_rs_python_v1.json")
|