Skip to content

Commit

Permalink
Added support for COS HVDSTAB ref file (#1042)
Browse files Browse the repository at this point in the history
* Added support for COS HVDSTAB ref file

* Changelog entry
  • Loading branch information
stscirij authored May 31, 2024
1 parent c4939da commit 6dec873
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
11.17.22 (Unreleased)
=====================

HST
---

- Added RMAP and TPN files for new COS HVDSTAB reference file [#1042]

JWST
----
- Added several RMAPS for pars-resamplestep/specstep [#1038]
Expand Down
30 changes: 30 additions & 0 deletions crds/hst/specs/combined_specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,36 @@
"tpn":"cos_gsag.tpn",
"unique_rowkeys":[]
},
"hvdstab":{
"derived_from":"Initial hand made version 2024-04-25. Jira CRDS-783.",
"extra_keys":[],
"file_ext":".fits",
"filekind":"HVDSTAB",
"filetype":"HV SENSITIVITY TABLE TO CORRECT EPSILON BASED ON EXPOSURE HV",
"instrument":"COS",
"ld_tpn":"cos_hvds_ld.tpn",
"mapping":"REFERENCE",
"name":"hst_cos_hvdstab_0000.rmap",
"observatory":"HST",
"parkey":[
[
"DETECTOR"
],
[
"DATE-OBS",
"TIME-OBS"
]
],
"reffile_format":"TABLE",
"reffile_required":"YES",
"reffile_switch":"HVDSCORR",
"rmap_relevance":"((DETECTOR == \"FUV\") and (OBSMODE==\"TIME-TAG\") and (HVDSCORR != \"OMIT\"))",
"sha1sum":"cb20e16e7981a51570b3c2de16e046fe5179b9ba",
"suffix":"hvds",
"text_descr":"Reference file that contains the slopes, y intercepts, and zero points of a high voltage-dependent sensitivity correction for COS FUV",
"tpn":"cos_hvds.tpn",
"unique_rowkeys":null
},
"hvtab":{
"extra_keys":[],
"file_ext":".fits",
Expand Down
25 changes: 25 additions & 0 deletions crds/hst/specs/cos_hvdstab.rmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
header = {
'derived_from' : 'Initial hand made version 2024-04-25. Jira CRDS-783.',
'extra_keys' : (),
'file_ext' : '.fits',
'filekind' : 'HVDSTAB',
'filetype' : 'HV SENSITIVITY TABLE TO CORRECT EPSILON BASED ON EXPOSURE HV',
'instrument' : 'COS',
'ld_tpn' : 'cos_hvds_ld.tpn',
'mapping' : 'REFERENCE',
'name' : 'hst_cos_hvdstab_0000.rmap',
'observatory' : 'HST',
'parkey' : (('DETECTOR',), ('DATE-OBS', 'TIME-OBS')),
'reffile_format' : 'TABLE',
'reffile_required' : 'YES',
'reffile_switch' : 'HVDSCORR',
'rmap_relevance' : '((DETECTOR == "FUV") and (OBSMODE=="TIME-TAG") and (HVDSCORR != "OMIT"))',
'sha1sum' : 'cb20e16e7981a51570b3c2de16e046fe5179b9ba',
'suffix' : 'hvds',
'text_descr' : 'Reference file that contains the slopes, y intercepts, and zero points of a high voltage-dependent sensitivity correction for COS FUV',
'tpn' : 'cos_hvds.tpn',
'unique_rowkeys' : None,
}

selector = Match({
})
23 changes: 23 additions & 0 deletions crds/hst/tpns/cos_hvds.tpn
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Template file used by certify to check reference files
# Some fields may be abbreviated to their first character:
#
# keytype = (Header|Group|Column)
# datatype = (Integer|Real|Logical|Double|Character)
# presence = (Optional|Required)
#
#
# NAME KEYTYPE DATATYPE PRESENCE VALUES
#----------------------------------------------------------
INSTRUME H C R COS
FILETYPE H C R "HV SENSITIVITY TABLE TO CORRECT EPSILON BASED ON EXPOSURE HV"
DETECTOR H C R FUV
OBSTYPE H C R SPECTROSCOPIC
VCALCOS H C R
USEAFTER H C R &SYBDATE
PEDIGREE H C R &PEDIGREE
DESCRIP H C R
SEGMENT C C R FUVA,FUVB
OPT_ELEM C C R G130M,G160M,G140L
CENWAVE C I R 800,1222,1291,1300,1309,1318,1327,\
1533,1577,1589,1600,1611,1623,\
1055,1096,1105,1230,1280
27 changes: 27 additions & 0 deletions crds/hst/tpns/cos_hvds_ld.tpn
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Template file used by certify to check reference files
# Some fields may be abbreviated to their first character:
#
# keytype = (Header|Group|Column)
# datatype = (Integer|Real|Logical|Double|Character)
# presence = (Optional|Required)
#
#
# NAME KEYTYPE DATATYPE PRESENCE VALUES
#--------------------------------------------------------------------------
USEAFTER_DATE H C R &SYBDATE
OPUS_FLAG H C R Y,N
COMPARISON_FILE H C R
COMMENT H C R
INSTRUMENT H C R COS
REFERENCE_FILE_TYPE H C R HVDS
DETECTOR C C R FUV
OBSTYPE C C R SPECTROSCOPIC
PEDIGREE C C R INFLIGHT,GROUND,MODEL,DUMMY
SEGMENT C C R FUVA,FUVB
OPT_ELEM C C R G130M,G160M,G140L
CENWAVE C I R 800,1222,1223,1291,1300,1309,1318,1327,\
1533,1577,1589,1600,1611,1623,\
1055,1096,1105,1230,1280
OBSERVATION_BEGIN_DATE C C O &SYBDATE
OBSERVATION_END_DATE C C O &SYBDATE
COMMENT C C P

0 comments on commit 6dec873

Please sign in to comment.