rs_server_cadip/cadip_retriever.md
This will be used to configure dataretriever used for cadip
init_cadip_provider(station)
cached
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:
| Name | Type | Description | Default |
|---|---|---|---|
station
|
str
|
the station to interact with: ns, mps, mti, nsg, sgs, cadip(?) |
required |
Returns:
| Type | Description |
|---|---|
EodagProvider
|
the EodagProvider initialized |
Source code in docs/rs-server/services/cadip/rs_server_cadip/cadip_retriever.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | |