Commit 6a5c9165 authored by Lozac'h Loic's avatar Lozac'h Loic
Browse files

debug

parent 5b71e539
......@@ -24,9 +24,8 @@ scihub:
endpoint: https://apihub.copernicus.eu/apihub/
peps:
priority: 1
api:
auth:
credentials:
username: loic.lozach@irstea.fr
password: PMUQc22$
auth:
credentials:
username: loic.lozach@irstea.fr
password: PMUQc22$
......@@ -49,8 +49,8 @@ class EodagS1Downloader():
'''
Constructor
'''
os.environ["EODAG__PEPS__AUTH__CREDENTIALS__USERNAME"] = "loic.lozach@irstea.fr"
os.environ["EODAG__PEPS__AUTH__CREDENTIALS__PASSWORD"] = "PMUQc22$"
# os.environ["EODAG__PEPS__AUTH__CREDENTIALS__USERNAME"] = "loic.lozach@irstea.fr"
# os.environ["EODAG__PEPS__AUTH__CREDENTIALS__PASSWORD"] = "PMUQc22$"
if not os.path.exists(downdir):
os.mkdir(downdir)
......@@ -73,8 +73,6 @@ class EodagS1Downloader():
product_type = 'S1_SAR_GRD'
sensor_mode = 'IW'
print(self.mEODataAccessGateway.available_providers(product_type))
print("Search on Scihub...")
self.mEODataAccessGateway.set_preferred_provider("scihub")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment