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
12732b02
Commit
12732b02
authored
Aug 25, 2021
by
Lozac'h Loic
Browse files
debug
parent
c464f4dc
Changes
3
Show whitespace changes
Inline
Side-by-side
download_service.py
View file @
12732b02
...
...
@@ -237,7 +237,7 @@ if __name__ == "__main__":
process_command
(
cmd
)
elif
args
.
pipeline
==
'eodagrestart'
:
cmd
=
[
"python"
,
"manage.py"
,
"runscript"
,
"freezeDetectWrapper"
,
"--traceback"
,
"--script-args"
,
"13"
,
"remaining_geojson@"
+
args
.
remaining_geojson
,
"downdir@"
+
args
.
downdir
,
"alternate_geojson@"
+
args
.
alternate_geojson
"13"
,
"remaining_geojson@"
+
args
.
remaining_geojson
,
"downdir@"
+
args
.
downdir
,
"alternate_geojson@"
+
str
(
args
.
alternate_geojson
)
]
process_command
(
cmd
)
...
...
freeze_service.py
View file @
12732b02
...
...
@@ -344,7 +344,7 @@ if __name__ == "__main__":
elif
args
.
pipeline
==
'normalize'
:
cmd
=
[
"python"
,
"manage.py"
,
"runscript"
,
"freezeDetectWrapper"
,
"--traceback"
,
"--script-args"
,
"11"
,
"tile_str@"
+
args
.
tile_str
,
"year@"
+
args
.
year
,
"outdir@"
+
args
.
outdir
"11"
,
"tile_str@"
+
args
.
tile_str
,
"year@"
+
args
.
year
,
"outdir@"
+
str
(
args
.
outdir
)
]
process_command
(
cmd
)
...
...
scripts/freezeDetectWrapper.py
View file @
12732b02
...
...
@@ -166,13 +166,13 @@ def run(*args):
proc10_batch_export_shapefile
(
argsdict
[
"tile_str"
],
argsdict
[
"orbit"
],
argsdict
[
"stats"
],
argsdict
[
"outdir"
],
argsdict
[
"suffix"
],
argsdict
[
"wseason"
])
elif
choix
==
11
:
proc11_normalize_rsquare
(
argsdict
[
"tile_str"
],
argsdict
[
"year"
],
str
(
argsdict
[
"outdir"
])
)
proc11_normalize_rsquare
(
argsdict
[
"tile_str"
],
argsdict
[
"year"
],
argsdict
[
"outdir"
])
elif
choix
==
12
:
eodag_download
(
argsdict
[
"tile_str"
],
argsdict
[
"startdate"
],
argsdict
[
"enddate"
],
argsdict
[
"downdir"
])
elif
choix
==
13
:
eodag_restart
(
argsdict
[
"remaining_geojson"
],
argsdict
[
"downdir"
],
str
(
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