hispecdrp.calibrations.download_verify
Post-download checks so KOA sync cannot report success without a real file.
Functions
|
Raise if |
Ensure the on-disk file lives at |
- ensure_calibration_on_disk(path, *, expected_filename=None, cal_record=None, min_bytes=2880)[source]
Raise if
pathis missing or too small to be a real calibration FITS.
- normalize_downloaded_calibration_path(downloaded_path, expected_path)[source]
Ensure the on-disk file lives at
expected_path(data_dir / DB filename).