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
feb94eef
Commit
feb94eef
authored
Aug 25, 2021
by
Lozac'h Loic
Browse files
debug
parent
9d472d1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/freezeDetectWrapper.py
View file @
feb94eef
...
...
@@ -17,7 +17,7 @@ def eodag_download( mrgstile, startdate, enddate, downdir):
def
eodag_restart
(
remaining_geojson
,
downdir
,
alternate_geojson
=
None
):
eds
=
eodags1
.
EodagS1
()
eds
.
import_geojson
(
products
_geojson
,
alternate_products_geojson
=
alternate_geojson
)
eds
.
import_geojson
(
remaining
_geojson
,
alternate_products_geojson
=
alternate_geojson
)
eds
.
start_downloads
(
downdir
)
...
...
@@ -172,7 +172,7 @@ def run(*args):
eodag_download
(
argsdict
[
"tile_str"
],
argsdict
[
"startdate"
],
argsdict
[
"enddate"
],
argsdict
[
"downdir"
])
elif
choix
==
13
:
eodag_restart
(
argsdict
[
"remaining_geojson"
],
argsdict
[
"downdir"
],
alternate_geojson
=
argsdict
[
"alternate_geojson"
])
eodag_restart
(
argsdict
[
"remaining_geojson"
],
argsdict
[
"downdir"
],
argsdict
[
"alternate_geojson"
])
else
:
print
(
"Wrong argument."
)
...
...
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