DRAGONS icon indicating copy to clipboard operation
DRAGONS copied to clipboard

Unclear error message when calibration not found

Open stinyanont opened this issue 3 years ago • 1 comments

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

stinyanont avatar Aug 23 '22 22:08 stinyanont

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.

olyoberdorf avatar Sep 21 '22 23:09 olyoberdorf