Unclear error message when calibration not found
DRAGONS fails to find a proper flat field image for a given science frame even though a flat in the same filter has been taken. It would be helpful if the error message says specifically what the criteria it uses to find a calibration frame and what are available in the caldb. That way it would be easier to figure out what's wrong.
https://github.com/GeminiDRSoftware/DRAGONS/blob/3cadd3ab83a4731111e36af58df87bb7fb24cbab/recipe_system/cal_service/localmanager.py#L336
We have a tool coming soon that will help checking why a particular file did not match a particular calibration file. This will list the fields being used from the calibration and what the expected values are.