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

updated scihub api url changed to https://apihub.copernicus.eu/apihub/ as of...

updated scihub api url changed to https://apihub.copernicus.eu/apihub/ as of 28 April 2021, more info here https://scihub.copernicus.eu/news/News00868
parent e0c2c991
No related branches found
No related tags found
No related merge requests found
Pipeline #45 failed
...@@ -93,7 +93,7 @@ class DataRequest: ...@@ -93,7 +93,7 @@ class DataRequest:
self.tiles_to_keep_geom = dict() self.tiles_to_keep_geom = dict()
self.products_list = {"aws": {}, "hubs": {}} self.products_list = {"aws": {}, "hubs": {}}
self.cloudcoverpercentage = cloud_cover_percentage if cloud_cover_percentage else (0,100) self.cloudcoverpercentage = cloud_cover_percentage if cloud_cover_percentage else (0,100)
self.api = SentinelAPI(Config().get("scihub_id"), Config().get("scihub_pwd")) self.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 self.proxy_http_url or self.proxy_https_url: if self.proxy_http_url or self.proxy_https_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