Skip to content
Snippets Groups Projects
Commit 04271778 authored by pascal.mouquet_ird.fr's avatar pascal.mouquet_ird.fr
Browse files

updated new scihub url in download_scihub function

parent 6a1075b6
No related branches found
No related tags found
No related merge requests found
Pipeline #46 failed
...@@ -113,7 +113,7 @@ def download_scihub(identifier: str, tile: str, hub: str) -> Tuple[str, str, str ...@@ -113,7 +113,7 @@ def download_scihub(identifier: str, tile: str, hub: str) -> Tuple[str, str, str
downloaded = True downloaded = True
if not temp_container.l1c.path.exists() and not temp_container.l1c.in_library: if not temp_container.l1c.path.exists() and not temp_container.l1c.in_library:
api = SentinelAPI(Config().get("scihub_id"), Config().get("scihub_pwd")) api = SentinelAPI(Config().get("scihub_id"), Config().get("scihub_pwd"), "https://apihub.copernicus.eu/apihub/")
# Set proxy settings to the Requests session # Set proxy settings to the Requests session
if DownloadAndProcess.proxy_http_url or DownloadAndProcess.proxy_https_url: if DownloadAndProcess.proxy_http_url or DownloadAndProcess.proxy_https_url:
proxies = {"http": DownloadAndProcess.proxy_http_url, proxies = {"http": DownloadAndProcess.proxy_http_url,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment