desihub / nightwatch

DESI Nightwatch: online data quality assurance
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Fall back to older darks if not found. #380

Closed sybenzvi closed 5 months ago

sybenzvi commented 5 months ago

Update to handle new behavior of desispec, which now fails by default if an appropriate dark is not found. This fix ensures that preproc and qproc will fall back to an older dark calibration rather than raising an exception. Addresses #379.

sybenzvi commented 5 months ago

Tested successfully on NERSC against the promote-dark-errors branch of desispec. Ready for merger.

sbailey commented 5 months ago

This is a companion PR to desihub/desispec#2162 (now merged). Merging this one now.