diff --git a/example/aitf-data-for-run b/example/aitf-data-for-run
index 8ff5e0f48c09fbc895d8a6e07a807851833fecdb..864182cf27e82fe338a16307c00467151ef150f5 100755
--- a/example/aitf-data-for-run
+++ b/example/aitf-data-for-run
@@ -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)