Closed vcgeers closed 3 years ago
Based on an update from David on MIRI-845, it's clear that the JWST datamodel for MRS APCORR is not necessarily the same as for the original MRS APERCORR files delivered in CDP-7.
Since there are currently no clear plans to provide updated files for CDP-8, it's premature to add the mapping for MRS, so I've reverted that change, so this PR just focusses on the mapping for LRS.
Yes, the change looks ok to me, as long as there is an equivalent JWST data model called MirLrsApcorrModel which can also open these files.
I notice you reverted the MRS change, I presume because there isn't an MRS equivalent available in the JWST data models.
Thanks Steven.
I reverted the MRS change because while there is a JWST data model called "MirMrsApcorrModel", I understand from David Law that it is not necessarily equivalent to our data model. Our data model is still appropriate for the CDP-7 files we delivered. STScI's data model is for an updated version they created from the CDP-7 file. Until we decide to deliver a newer version, there is no point in updated our MRS model.
This adds mapping for LRS APCORR and MRS APCORR, based on datamodels defined in "jwst" at: https://github.com/spacetelescope/jwst/blob/master/jwst/datamodels/apcorr.py