Commit 81659609 authored by Remi Cresson's avatar Remi Cresson
Browse files

FIX: s2_import app

1 merge request!50Support de STAC
Pipeline #41224 passed with stages
in 4 minutes and 8 seconds
Showing with 3 additions and 1 deletion
+3 -1
...@@ -23,7 +23,9 @@ def main(args): ...@@ -23,7 +23,9 @@ def main(args):
params = parser.parse_args(args) params = parser.parse_args(args)
# Search all Sentinel-2 scenes # Search all Sentinel-2 scenes
s2_scenes = [get_local_scenes(root_dir=root_dir, tile=params.tile_name) for root_dir in params.root_dirs] s2_scenes = []
for root_dir in params.root_dirs:
s2_scenes += get_local_scenes(root_dir=root_dir, tile=params.tile_name)
# Save scenes in a pickle file # Save scenes in a pickle file
save_scenes(s2_scenes, params.out_pickle) save_scenes(s2_scenes, params.out_pickle)
......
Supports Markdown
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