Skip to content

Commit

Permalink
Merge pull request #1061 from spacetelescope/CCD-1501
Browse files Browse the repository at this point in the history
Added new base rmap for niriss pastasoss.
  • Loading branch information
hbrown-ST authored Aug 30, 2024
2 parents 9b0ea25 + 60d84b4 commit 46fc854
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -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)
====================

Expand Down
17 changes: 17 additions & 0 deletions crds/jwst/specs/niriss_pastasoss.rmap
Original file line number Diff line number Diff line change
@@ -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({
})
2 changes: 1 addition & 1 deletion test/core/test_reftypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 46fc854

Please sign in to comment.