Skip to content
Snippets Groups Projects
Commit ff5dcd26 authored by Alan De Smet's avatar Alan De Smet
Browse files

Update for changes for #5

parent 4fe35dc2
Branches
No related tags found
No related merge requests found
......@@ -101,15 +101,15 @@ def main():
try:
logging.progress("Acquiring SST")
sststats = aitf.ancil.SST.DownloadStatistics()
sst_files = aitf.ancil.SST.download_for_time(args.scan_time, args.cache, do_download = do_download, download_stats = sststats)
sststats = aitf.ancil.SST.download_for_time(args.scan_time, args.cache, do_download = do_download)
sst_files = sststats.all_files()
log_download_report("SST Download Summary", sststats)
# using SST instead of GFS to show that
# DownloadStatistics are interchangable.
logging.progress("Acquiring GFS")
gfsstats = aitf.ancil.SST.DownloadStatistics()
gfs_files = aitf.ancil.GFS.download_for_time(args.scan_time, args.cache, do_download = do_download, download_stats = sststats)
gfsstats = aitf.ancil.GFS.download_for_time(args.scan_time, args.cache, do_download = do_download)
gfs_files = gfsstats.all_files()
log_download_report("GFS Download Summary", gfsstats)
log_download_report("Total Download Summary", sststats + gfsstats)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment