Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lozac'h Loic
AgriFrozenAreaProject
Commits
6a5c9165
Commit
6a5c9165
authored
Aug 19, 2021
by
Lozac'h Loic
Browse files
debug
parent
5b71e539
Changes
2
Hide whitespace changes
Inline
Side-by-side
frozenapp/eodag/user_conf.yml
View file @
6a5c9165
...
...
@@ -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$
frozenapp/eodags1.py
View file @
6a5c9165
...
...
@@ -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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment