Skip to content

Commit 3f171ef

Browse files
authored
CCD-1076: added saturation ref filetype (#847)
- Added wfi_saturation.tpn for reftype saturation - Added wfi_saturation.rmap for reftype saturation - Changed combined_specs.json by adding an entry for reftype saturation
1 parent c15b2ed commit 3f171ef

4 files changed

Lines changed: 63 additions & 0 deletions

File tree

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- Added new reftype saturation [#847]
12
- Changed dark reftype definition [#852]
23
- Changed readnoise reftype definition [#851]
34

crds/roman/specs/combined_specs.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,36 @@
209209
"text_descr":"Read Noise",
210210
"tpn":"wfi_readnoise.tpn",
211211
"unique_rowkeys":null
212+
},
213+
"saturation":{
214+
"classes":[
215+
"Match",
216+
"UseAfter"
217+
],
218+
"derived_from":"Hand made 2021-10-15",
219+
"extra_keys":null,
220+
"file_ext":".asdf",
221+
"filekind":"SATURATION",
222+
"filetype":"SATURATION",
223+
"instrument":"WFI",
224+
"ld_tpn":"wfi_saturation_ld.tpn",
225+
"mapping":"REFERENCE",
226+
"name":"wfi_saturation.rmap",
227+
"observatory":"ROMAN",
228+
"parkey":[
229+
[
230+
"ROMAN.META.INSTRUMENT.DETECTOR"
231+
],
232+
[
233+
"ROMAN.META.OBSERVATION.DATE",
234+
"ROMAN.META.OBSERVATION.TIME"
235+
]
236+
],
237+
"sha1sum":"ce3846cc89dffa412acee95c2a7169e27a4b13db",
238+
"suffix":"saturation",
239+
"text_descr":"Saturation Threshhold",
240+
"tpn":"wfi_saturation.tpn",
241+
"unique_rowkeys":null
212242
}
213243
}
214244
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
header = {
2+
'classes' : ('Match', 'UseAfter'),
3+
'derived_from' : 'Hand made 2021-10-15',
4+
'file_ext' : '.asdf',
5+
'filekind' : 'SATURATION',
6+
'filetype' : 'SATURATION',
7+
'instrument' : 'WFI',
8+
'ld_tpn' : 'wfi_saturation_ld.tpn',
9+
'mapping' : 'REFERENCE',
10+
'name' : 'wfi_saturation.rmap',
11+
'observatory' : 'ROMAN',
12+
'parkey' : (('ROMAN.META.INSTRUMENT.DETECTOR',), ('ROMAN.META.OBSERVATION.DATE', 'ROMAN.META.OBSERVATION.TIME')),
13+
'sha1sum' : 'ce3846cc89dffa412acee95c2a7169e27a4b13db',
14+
'suffix' : 'saturation',
15+
'text_descr' : 'Saturation Threshhold',
16+
'tpn' : 'wfi_saturation.tpn',
17+
}
18+
19+
selector = Match({
20+
})

crds/roman/tpns/wfi_saturation.tpn

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Contraints defined in this file apply the WFI instrument's SATURATION reference type.
2+
3+
# Template file used by certify to check reference files
4+
# Some fields may be abbreviated to their first character:
5+
#
6+
# keytype = (Header|Group|Column|Expression)
7+
# datatype = (Integer|Real|Logical|Double|Character|Expression)
8+
# presence = (Optional|Required)
9+
#
10+
# NAME KEYTYPE DATATYPE PRESENCE VALUES
11+
#----------------------------------------------------------
12+
ROMAN.META.INSTRUMENT.DETECTOR H C R

0 commit comments

Comments
 (0)