diff --git a/CHANGES.rst b/CHANGES.rst index 8ce3beb3b..a0d0ee60a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,12 +1,18 @@ 11.18.2 (unreleased) ==================== +JWST +----- + +- Resolves CCD-1501 by adding a new reference file niriss_pastasoss.rmap. [#1061] + Documentation ------------- - Added info on using "--after-context" flag in the crds.sync command line help output. The web user guide (command line tools page) has been updated as well to include this information. [#1060] + 11.18.1 (2024-07-26) ==================== diff --git a/crds/jwst/specs/niriss_pastasoss.rmap b/crds/jwst/specs/niriss_pastasoss.rmap new file mode 100644 index 000000000..6e5dcc0e6 --- /dev/null +++ b/crds/jwst/specs/niriss_pastasoss.rmap @@ -0,0 +1,17 @@ +header = { + 'derived_from' : 'handmade spec 08-29-2024', + 'file_ext' : '.asdf', + 'filekind' : 'pastasoss', + 'filetype' : 'PASTASOSS', + 'instrument' : 'NIRISS', + 'mapping' : 'REFERENCE', + 'name' : 'niriss_pastasoss.rmap', + 'observatory' : 'JWST', + 'parkey' : (('META.INSTRUMENT.DETECTOR', 'META.INSTRUMENT.FILTER', 'META.INSTRUMENT.EXP_TYPE'), ('META.OBSERVATION.DATE', 'META.OBSERVATION.TIME')), + 'sha1sum' : '34bcbcff310a9524f0c855c82f4c16b3568edff0', + 'suffix' : 'pastasoss', + 'text_descr' : 'NIRISS SOSS trace location reference file', +} + +selector = Match({ +}) diff --git a/test/core/test_reftypes.py b/test/core/test_reftypes.py index c5fd855a3..a988fb789 100644 --- a/test/core/test_reftypes.py +++ b/test/core/test_reftypes.py @@ -212,7 +212,7 @@ def test_reftypes_hst_get_filekinds(default_shared_state): def test_reftypes_jwst_get_filekinds(default_shared_state): types = reftypes.get_types_object("jwst") niriss_types = types.get_filekinds("niriss") - expected_types = ['abvegaoffset', 'all', 'amplifier', 'apcorr', 'area', 'dark', 'distortion', 'drizpars', 'extract1d', 'filteroffset', 'flat', 'gain', 'ipc', 'linearity', 'mask', 'nrm', 'pars-chargemigrationstep', 'pars-darkcurrentstep', 'pars-darkpipeline', 'pars-detector1pipeline', 'pars-image2pipeline', 'pars-jumpstep', 'pars-outlierdetectionstep', 'pars-rampfitstep', 'pars-resamplestep', 'pars-sourcecatalogstep', 'pars-spec2pipeline', 'pars-tweakregstep', 'pars-undersamplecorrectionstep', 'pars-whitelightstep', 'pathloss', 'persat', 'photom', 'readnoise', 'regions', 'saturation', 'speckernel', 'specprofile', 'spectrace', 'specwcs', 'superbias', 'throughput', 'trapdensity', 'trappars', 'wavelengthrange', 'wavemap', 'wcsregions', 'wfssbkg'] + expected_types = ['abvegaoffset', 'all', 'amplifier', 'apcorr', 'area', 'dark', 'distortion', 'drizpars', 'extract1d', 'filteroffset', 'flat', 'gain', 'ipc', 'linearity', 'mask', 'nrm', 'pars-chargemigrationstep', 'pars-darkcurrentstep', 'pars-darkpipeline', 'pars-detector1pipeline', 'pars-image2pipeline', 'pars-jumpstep', 'pars-outlierdetectionstep', 'pars-rampfitstep', 'pars-resamplestep', 'pars-sourcecatalogstep', 'pars-spec2pipeline', 'pars-tweakregstep', 'pars-undersamplecorrectionstep', 'pars-whitelightstep', 'pastasoss', 'pathloss', 'persat', 'photom', 'readnoise', 'regions', 'saturation', 'speckernel', 'specprofile', 'spectrace', 'specwcs', 'superbias', 'throughput', 'trapdensity', 'trappars', 'wavelengthrange', 'wavemap', 'wcsregions', 'wfssbkg'] assert sorted(niriss_types) == sorted(expected_types)