Skip to content

Commit

Permalink
Merge pull request #1045 from spacetelescope/CCD-1467
Browse files Browse the repository at this point in the history
Added pars-darkcurrentstep rmaps for NIRISS, NIRCAM and NIRSPEC.
  • Loading branch information
hbrown-ST committed Jun 11, 2024
2 parents 66da663 + 51827ca commit bab1956
Show file tree
Hide file tree
Showing 6 changed files with 137 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
11.17.24 (20204-06-10)
=====================

JWST
----
- Added pars-darkcurrentstep rmaps for NIRISS, NIRCAM and NIRSPEC [#1045]

11.17.23 (2024-06-03)
=====================

Expand Down
78 changes: 78 additions & 0 deletions crds/jwst/specs/combined_specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4285,6 +4285,32 @@
"tpn":"nircam_mask.tpn",
"unique_rowkeys":null
},
"pars-darkcurrentstep":{
"derived_from":"Created by Hunter Brown 2024-06-10",
"extra_keys":null,
"file_ext":".asdf",
"filekind":"pars-darkcurrentstep",
"filetype":"pars-darkcurrentstep",
"instrument":"NIRCAM",
"ld_tpn":"nircam_pars-darkcurrentstep_ld.tpn",
"mapping":"REFERENCE",
"name":"jwst_nircam_pars-darkcurrentstep.rmap",
"observatory":"JWST",
"parkey":[
[
"META.EXPOSURE.TYPE"
],
[
"META.OBSERVATION.DATE",
"META.OBSERVATION.TIME"
]
],
"sha1sum":"d9fe7ab309b949ea4db0662e8e4df8b0bf5a9ef8",
"suffix":"pars-darkcurrentstep",
"text_descr":"DarkCurrentStep runtime parameters for nircam",
"tpn":"nircam_pars-darkcurrentstep.tpn",
"unique_rowkeys":null
},
"pars-darkpipeline":{
"classes":[
"Match",
Expand Down Expand Up @@ -5368,6 +5394,32 @@
"tpn":"niriss_pars-chargemigrationstep.tpn",
"unique_rowkeys":null
},
"pars-darkcurrentstep":{
"derived_from":"Created by Hunter Brown 2024-06-10",
"extra_keys":null,
"file_ext":".asdf",
"filekind":"pars-darkcurrentstep",
"filetype":"pars-darkcurrentstep",
"instrument":"NIRISS",
"ld_tpn":"niriss_pars-darkcurrentstep_ld.tpn",
"mapping":"REFERENCE",
"name":"jwst_niriss_pars-darkcurrentstep.rmap",
"observatory":"JWST",
"parkey":[
[
"META.EXPOSURE.TYPE"
],
[
"META.OBSERVATION.DATE",
"META.OBSERVATION.TIME"
]
],
"sha1sum":"4f3c8d6c8bc1dca3ce2a73c8913f9df85ec23a42",
"suffix":"pars-darkcurrentstep",
"text_descr":"DarkCurrentStep runtime parameters for niriss",
"tpn":"niriss_pars-darkcurrentstep.tpn",
"unique_rowkeys":null
},
"pars-darkpipeline":{
"classes":[
"Match",
Expand Down Expand Up @@ -6939,6 +6991,32 @@
"tpn":"nirspec_ote.tpn",
"unique_rowkeys":null
},
"pars-darkcurrentstep":{
"derived_from":"Created by Hunter Brown 2024-06-10",
"extra_keys":null,
"file_ext":".asdf",
"filekind":"pars-darkcurrentstep",
"filetype":"pars-darkcurrentstep",
"instrument":"NIRSPEC",
"ld_tpn":"nirspec_pars-darkcurrentstep_ld.tpn",
"mapping":"REFERENCE",
"name":"jwst_nirspec_pars-darkcurrentstep.rmap",
"observatory":"JWST",
"parkey":[
[
"META.EXPOSURE.TYPE"
],
[
"META.OBSERVATION.DATE",
"META.OBSERVATION.TIME"
]
],
"sha1sum":"041b2b67e68467067eef9728adbc8266648fdd2c",
"suffix":"pars-darkcurrentstep",
"text_descr":"DarkCurrentStep runtime parameters for nirspec",
"tpn":"nirspec_pars-darkcurrentstep.tpn",
"unique_rowkeys":null
},
"pars-darkpipeline":{
"classes":[
"Match",
Expand Down
17 changes: 17 additions & 0 deletions crds/jwst/specs/nircam_pars-darkcurrentstep.rmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
header = {
'derived_from' : 'Created by Hunter Brown 2024-06-10',
'file_ext' : '.asdf',
'filekind' : 'pars-darkcurrentstep',
'filetype' : 'pars-darkcurrentstep',
'instrument' : 'NIRCAM',
'mapping' : 'REFERENCE',
'name' : 'jwst_nircam_pars-darkcurrentstep.rmap',
'observatory' : 'JWST',
'parkey' : (('META.EXPOSURE.TYPE',), ('META.OBSERVATION.DATE', 'META.OBSERVATION.TIME')),
'sha1sum' : 'd9fe7ab309b949ea4db0662e8e4df8b0bf5a9ef8',
'suffix' : 'pars-darkcurrentstep',
'text_descr' : 'DarkCurrentStep runtime parameters for nircam',
}

selector = Match({
})
17 changes: 17 additions & 0 deletions crds/jwst/specs/niriss_pars-darkcurrentstep.rmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
header = {
'derived_from' : 'Created by Hunter Brown 2024-06-10',
'file_ext' : '.asdf',
'filekind' : 'pars-darkcurrentstep',
'filetype' : 'pars-darkcurrentstep',
'instrument' : 'NIRISS',
'mapping' : 'REFERENCE',
'name' : 'jwst_niriss_pars-darkcurrentstep.rmap',
'observatory' : 'JWST',
'parkey' : (('META.EXPOSURE.TYPE',), ('META.OBSERVATION.DATE', 'META.OBSERVATION.TIME')),
'sha1sum' : '4f3c8d6c8bc1dca3ce2a73c8913f9df85ec23a42',
'suffix' : 'pars-darkcurrentstep',
'text_descr' : 'DarkCurrentStep runtime parameters for niriss',
}

selector = Match({
})
17 changes: 17 additions & 0 deletions crds/jwst/specs/nirspec_pars-darkcurrentstep.rmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
header = {
'derived_from' : 'Created by Hunter Brown 2024-06-10',
'file_ext' : '.asdf',
'filekind' : 'pars-darkcurrentstep',
'filetype' : 'pars-darkcurrentstep',
'instrument' : 'NIRSPEC',
'mapping' : 'REFERENCE',
'name' : 'jwst_nirspec_pars-darkcurrentstep.rmap',
'observatory' : 'JWST',
'parkey' : (('META.EXPOSURE.TYPE',), ('META.OBSERVATION.DATE', 'META.OBSERVATION.TIME')),
'sha1sum' : '041b2b67e68467067eef9728adbc8266648fdd2c',
'suffix' : 'pars-darkcurrentstep',
'text_descr' : 'DarkCurrentStep runtime parameters for nirspec',
}

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-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', '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 bab1956

Please sign in to comment.