Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/1128.roman.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
adds new reference mapping matable for roman
27 changes: 27 additions & 0 deletions crds/roman/specs/combined_specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,33 @@
"tpn":"wfi_mask.tpn",
"unique_rowkeys":null
},
"matable":{
"classes":[
"Match",
"UseAfter"
],
"derived_from":"Autogenerated via API on 2025-04-17",
"extra_keys":null,
"file_ext":".asdf",
"filekind":"matable",
"filetype":"MATABLE",
"instrument":"wfi",
"ld_tpn":"wfi_matable.ld_tpn",
"mapping":"REFERENCE",
"name":"wfi_matable.rmap",
"observatory":"roman",
"parkey":[
[],
[
"ROMAN.META.EXPOSURE.START_TIME"
]
],
"sha1sum":"fe81038c630c5a590226da821018aa891256990c",
"suffix":"matable",
"text_descr":"Multiple Accumulation Table",
"tpn":"wfi_matable.tpn",
"unique_rowkeys":null
},
"pars-assignwcsstep":{
"derived_from":"Handmade initial rmap",
"extra_keys":null,
Expand Down
20 changes: 20 additions & 0 deletions crds/roman/specs/wfi_matable.rmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
header = {
'classes' : ('Match', 'UseAfter'),
'derived_from' : 'Autogenerated via API on 2025-04-17',
'file_ext' : '.asdf',
'filekind' : 'matable',
'filetype' : 'MATABLE',
'instrument' : 'wfi',
'ld_tpn' : 'wfi_matable.ld_tpn',
'mapping' : 'REFERENCE',
'name' : 'wfi_matable.rmap',
'observatory' : 'roman',
'parkey' : ((), ('ROMAN.META.EXPOSURE.START_TIME',)),
'sha1sum' : 'fe81038c630c5a590226da821018aa891256990c',
'suffix' : 'matable',
'text_descr' : 'Multiple Accumulation Table',
'tpn' : 'wfi_matable.tpn',
}

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 @@ -222,7 +222,7 @@ def test_reftypes_jwst_get_filekinds(default_shared_state):
def test_reftypes_roman_get_filekinds(default_shared_state):
types = reftypes.get_types_object("roman")
wfi_filekinds = types.get_filekinds("wfi")
expected_types = ['abvegaoffset', 'all', 'apcorr', 'area', 'dark', 'distortion', 'epsf', 'flat', 'gain', 'inverselinearity', 'ipc', 'linearity', 'mask', 'pars-assignwcsstep', 'pars-darkcurrentstep', 'pars-dqinitstep', 'pars-exposurepipeline', 'pars-flatfieldstep', 'pars-fluxstep', 'pars-highlevelpipeline', 'pars-jumpstep', 'pars-linearitystep', 'pars-outlierdetectionstep', 'pars-photomstep', 'pars-rampfitstep', 'pars-refpixstep', 'pars-resamplestep', 'pars-saturationstep', 'pars-skymatchstep', 'pars-sourcedetectionstep', 'pars-tweakregstep', 'photom', 'readnoise', 'refpix', 'saturation', 'skycells']
expected_types = ['abvegaoffset', 'all', 'apcorr', 'area', 'dark', 'distortion', 'epsf', 'flat', 'gain', 'inverselinearity', 'ipc', 'linearity', 'mask', 'matable', 'pars-assignwcsstep', 'pars-darkcurrentstep', 'pars-dqinitstep', 'pars-exposurepipeline', 'pars-flatfieldstep', 'pars-fluxstep', 'pars-highlevelpipeline', 'pars-jumpstep', 'pars-linearitystep', 'pars-outlierdetectionstep', 'pars-photomstep', 'pars-rampfitstep', 'pars-refpixstep', 'pars-resamplestep', 'pars-saturationstep', 'pars-skymatchstep', 'pars-sourcedetectionstep', 'pars-tweakregstep', 'photom', 'readnoise', 'refpix', 'saturation', 'skycells']
assert sorted(wfi_filekinds) == sorted(expected_types)


Expand Down
Loading