Skip to content

Commit b14a568

Browse files
authored
Merge pull request #848 from ddkauffman/feature/CCD-1077_linearity_ref_filetype
CCD-1077: add linearity coeffiencent ref filetype added: wfi_linearity.rmap added: wfi_linearity.tpn updated: combined_specs.json
2 parents 1f5cde6 + 2b23763 commit b14a568

3 files changed

Lines changed: 62 additions & 0 deletions

File tree

crds/roman/specs/combined_specs.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,36 @@
118118
"tpn":"wfi_gain.tpn",
119119
"unique_rowkeys":null
120120
},
121+
"linearity":{
122+
"classes":[
123+
"Match",
124+
"UseAfter"
125+
],
126+
"derived_from":"Hand made 2021-10-14",
127+
"extra_keys":null,
128+
"file_ext":".asdf",
129+
"filekind":"LINEARITY",
130+
"filetype":"LINEARITY",
131+
"instrument":"WFI",
132+
"ld_tpn":"wfi_linearity_ld.tpn",
133+
"mapping":"REFERENCE",
134+
"name":"wfi_linearity.rmap",
135+
"observatory":"ROMAN",
136+
"parkey":[
137+
[
138+
"ROMAN.META.INSTRUMENT.DETECTOR"
139+
],
140+
[
141+
"ROMAN.META.OBSERVATION.DATE",
142+
"ROMAN.META.OBSERVATION.TIME"
143+
]
144+
],
145+
"sha1sum":"48df06614af4d4d46804bdf9667359d57b046982",
146+
"suffix":"linearity",
147+
"text_descr":"Linearity coefficients",
148+
"tpn":"wfi_linearity.tpn",
149+
"unique_rowkeys":null
150+
},
121151
"mask":{
122152
"classes":[
123153
"Match",
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-14',
4+
'file_ext' : '.asdf',
5+
'filekind' : 'LINEARITY',
6+
'filetype' : 'LINEARITY',
7+
'instrument' : 'WFI',
8+
'ld_tpn' : 'wfi_linearity_ld.tpn',
9+
'mapping' : 'REFERENCE',
10+
'name' : 'wfi_linearity.rmap',
11+
'observatory' : 'ROMAN',
12+
'parkey' : (('ROMAN.META.INSTRUMENT.DETECTOR',), ('ROMAN.META.OBSERVATION.DATE', 'ROMAN.META.OBSERVATION.TIME')),
13+
'sha1sum' : '48df06614af4d4d46804bdf9667359d57b046982',
14+
'suffix' : 'linearity',
15+
'text_descr' : 'Linearity coefficients',
16+
'tpn' : 'wfi_linearity.tpn',
17+
}
18+
19+
selector = Match({
20+
})

crds/roman/tpns/wfi_linearity.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 LINEARITY 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)