Commit 12732b02 authored by Lozac'h Loic's avatar Lozac'h Loic
Browse files

debug

parent c464f4dc
...@@ -237,7 +237,7 @@ if __name__ == "__main__": ...@@ -237,7 +237,7 @@ if __name__ == "__main__":
process_command(cmd) process_command(cmd)
elif args.pipeline == 'eodagrestart' : elif args.pipeline == 'eodagrestart' :
cmd=["python", "manage.py", "runscript", "freezeDetectWrapper", "--traceback", "--script-args", 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) process_command(cmd)
......
...@@ -344,7 +344,7 @@ if __name__ == "__main__": ...@@ -344,7 +344,7 @@ if __name__ == "__main__":
elif args.pipeline == 'normalize' : elif args.pipeline == 'normalize' :
cmd=["python", "manage.py", "runscript", "freezeDetectWrapper", "--traceback", "--script-args", 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) process_command(cmd)
......
...@@ -166,13 +166,13 @@ def run(*args): ...@@ -166,13 +166,13 @@ def run(*args):
proc10_batch_export_shapefile(argsdict["tile_str"],argsdict["orbit"], argsdict["stats"], argsdict["outdir"], argsdict["suffix"],argsdict["wseason"]) proc10_batch_export_shapefile(argsdict["tile_str"],argsdict["orbit"], argsdict["stats"], argsdict["outdir"], argsdict["suffix"],argsdict["wseason"])
elif choix == 11: 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: elif choix == 12:
eodag_download( argsdict["tile_str"],argsdict["startdate"], argsdict["enddate"], argsdict["downdir"]) eodag_download( argsdict["tile_str"],argsdict["startdate"], argsdict["enddate"], argsdict["downdir"])
elif choix == 13: 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: else:
print("Wrong argument.") print("Wrong argument.")
......
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