From 042717784b892fee095e6d6e46ea964a1114694b Mon Sep 17 00:00:00 2001 From: Impact <pascal.mouquet@ird.fr> Date: Tue, 18 May 2021 09:28:14 +0400 Subject: [PATCH] updated new scihub url in download_scihub function --- sen2chain/download_and_process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sen2chain/download_and_process.py b/sen2chain/download_and_process.py index 63a45cc..06d69ff 100644 --- a/sen2chain/download_and_process.py +++ b/sen2chain/download_and_process.py @@ -113,7 +113,7 @@ def download_scihub(identifier: str, tile: str, hub: str) -> Tuple[str, str, str downloaded = True 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 if DownloadAndProcess.proxy_http_url or DownloadAndProcess.proxy_https_url: proxies = {"http": DownloadAndProcess.proxy_http_url, -- GitLab