-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- New hook added to downloadCutout._download() to collect failed chunks - Retries exceeded behavior in downloadCutout._download() altered to default to continuoing the download. If callers of downloadCutout.download() want to stop the download, they can provide a failed_chunk_hook which raises - Failed chunk collector class keeps failed sky locations and outputs them with astropy.table.Table.write() - Cleanup documentation of downloadCutout._download and downloadCutout._download_chunk kwargs to also exist at top level in downloadCutout.download() for ease of discoverability. - Cleanup: convert stats system to a context manager class to avoid proliferation of globals in download.py, and centralize stat pretty printing. - Dedup rects from downloadCutout.py on their object_id - Also read in the old failed_chunks.fits file at the start to handle the case where we are resuming a download that has already had to skip some chunks.
- Loading branch information
Showing
2 changed files
with
274 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.