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

WIP: S2 download

1 merge request!12ENH: S2A and S3A support
Showing with 1 addition and 0 deletions
+1 -0
......@@ -204,6 +204,7 @@ def download_closest(config_file, acq_envelope, acq_date, level="LEVEL3A"):
for tile_name in search_results:
print(tile_name)
for description_date in search_results[tile_name]:
print("\t" + description_date)
dt = datetime.datetime.strptime(description_date, "%Y-%m-%d")
delta = acq_date - dt
delta = delta.days
......
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