rs_server_cadip package

Subpackages

Submodules

rs_server_cadip.cadip_download_status module

CadipDownloadStatus implementation.

class rs_server_cadip.cadip_download_status.CadipDownloadStatus(*args, status=EDownloadStatus.NOT_STARTED, **kwargs)

Bases: DownloadStatus

Database model implementation for CADU products download status from CADIP stations.

available_at_station
db_id
download_start
download_stop
name
product_id
status: EDownloadStatus
status_fail_message

rs_server_cadip.cadip_retriever module

This will be used to configure dataretriever used for cadip

rs_server_cadip.cadip_retriever.init_cadip_provider(station: str) EodagProvider

Initialize the cadip provider for the given station.

It initializes an eodag provider for the given station. The EODAG configuration file is read from the path given in the EODAG_CADIP_CONFIG var env if set. It is read from the path config/cadip_ws_config.yaml otherwise.

If the station is unknown or if the cadip station configuration reading fails, a specific exception is raised to inform the caller of the issue.

Parameters:

station – the station to interact with: ns, mps, mti, nsg, sgs, cadip(?)

Returns:

the EodagProvider initialized

Module contents

Main package.