Issue JP-4375 was created on JIRA by Ned Molter:
During testing of JP-4337 it was noticed by David Law and me that it's annoying to have to override the wavelengthrange reference file for all four of assign_wcs, background, extract_2d, and wfss_contam.
AFAIK, all steps downstream of assign_wcs require that assign_wcs was run. It would be convenient to require the file once in assign_wcs and then keep it attached to the model somehow, either within the wcs or as metadata.
Alternatively, we could consider consuming the information into either the specwcs file or the photom file; however those have their own wavelength range information that is distinct, so this may cause more confusion than it alleviates.
This ticket is to discuss options.
Issue JP-4375 was created on JIRA by Ned Molter:
During testing of JP-4337 it was noticed by David Law and me that it's annoying to have to override the wavelengthrange reference file for all four of assign_wcs, background, extract_2d, and wfss_contam.
AFAIK, all steps downstream of assign_wcs require that assign_wcs was run. It would be convenient to require the file once in assign_wcs and then keep it attached to the model somehow, either within the wcs or as metadata.
Alternatively, we could consider consuming the information into either the specwcs file or the photom file; however those have their own wavelength range information that is distinct, so this may cause more confusion than it alleviates.
This ticket is to discuss options.