Skip to content

Commit

Permalink
Update download script
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanf committed Apr 1, 2024
1 parent 7459ddc commit c37c3be
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions scripts/download_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
import os
import pathlib

gdown.download(id="1RzBH4LWSqHGdE-0SIpZZCluV6MLZ6b4f")
os.system("7z x star_observation_scheduling.7z -odata")
pathlib.Path("star_observation_scheduling.7z").unlink()

gdown.download(id="1ag21EFO0VzZlUccjTSVJ9tlT0uh7DbkS")
os.system("7z x flexible_star_observation_scheduling.7z -odata")
pathlib.Path("flexible_star_observation_scheduling.7z").unlink()
def download(id):
gdown.download(id=id, output="data.7z")
os.system("7z x data.7z -odata")
pathlib.Path("data.7z").unlink()


download("1RzBH4LWSqHGdE-0SIpZZCluV6MLZ6b4f")
download("1ag21EFO0VzZlUccjTSVJ9tlT0uh7DbkS")

0 comments on commit c37c3be

Please sign in to comment.