rs_server_adgs package

Subpackages

Submodules

rs_server_adgs.adgs_download_status module

AdgsDownloadStatus implementation.

class rs_server_adgs.adgs_download_status.AdgsDownloadStatus(*args, status=EDownloadStatus.NOT_STARTED, **kwargs)

Bases: DownloadStatus

Database model implementation for AUX products download status from ADGS stations.

available_at_station
db_id
download_start
download_stop
name
product_id
status: EDownloadStatus
status_fail_message

rs_server_adgs.adgs_retriever module

Docstring will be here.

rs_server_adgs.adgs_retriever.init_adgs_provider(station: str) EodagProvider

Initialize the adgs 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_ADGS_CONFIG var env if set. It is read from the path config/adgs_ws_config.yaml otherwise.

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

Parameters:

station (str) – the station to interact with.

Returns:

the EodagProvider initialized

Module contents

Main package.