Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

roman/new-rmaps-aboffset-apcorr #1097

Merged
Show file tree
Hide file tree
Changes from 4 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
2 changes: 1 addition & 1 deletion .github/workflows/contexts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
CRDS_SERVER_URL: https://roman-crds.stsci.edu
run: >
echo "pmap=$(
curl -s -X POST -d '{"jsonrpc": "1.0", "method": "get_default_context", "params": ["${{ env.OBSERVATORY }}"], "id": 1}' ${{ env.CRDS_SERVER_URL }}/json/ --retry 8 |
curl -s -X POST -d '{"jsonrpc": "1.0", "method": "get_default_context", "params": ["${{ env.OBSERVATORY }}", "latest"], "id": 1}' ${{ env.CRDS_SERVER_URL }}/json/ --retry 8 |
python -c "import sys, json; print(json.load(sys.stdin)['result'])"
)" >> $GITHUB_OUTPUT
- run: if [[ ! -z "${{ steps.roman_crds_context.outputs.pmap }}" ]]; then echo ${{ steps.roman_crds_context.outputs.pmap }}; else exit 1; fi
1 change: 1 addition & 0 deletions changes/1097.roman.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Adds new reference mapping templates for Aperture Correction (apcorr) and AB-Vega Offset (aboffset)
58 changes: 58 additions & 0 deletions crds/roman/specs/combined_specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,35 @@
}
},
"wfi":{
"abvegaoffset":{
"classes":[
"Match",
"UseAfter"
],
"derived_from":"Autogenerated via API on 2024-11-05",
"extra_keys":null,
"file_ext":".asdf",
"filekind":"abvegaoffset",
"filetype":"ABVEGAOFFSET",
"instrument":"wfi",
"ld_tpn":"wfi_abvegaoffset.ld_tpn",
"mapping":"REFERENCE",
"name":"wfi_abvegaoffset.rmap",
"observatory":"roman",
"parkey":[
[
"ROMAN.META.INSTRUMENT.DETECTOR"
],
[
"ROMAN.META.EXPOSURE.START_TIME"
]
],
"sha1sum":"edb07f3085387c4fbb8c17b698ac8f9ed96bade9",
"suffix":"abvegaoffset",
"text_descr":"AB-Vega Magnitude Offset",
"tpn":"wfi_abvegaoffset.tpn",
"unique_rowkeys":null
},
"all":{
"extra_keys":null,
"file_ext":".asdf",
Expand All @@ -37,6 +66,35 @@
"tpn":"wfi_all.tpn",
"unique_rowkeys":null
},
"apcorr":{
"classes":[
"Match",
"UseAfter"
],
"derived_from":"Autogenerated via API on 2024-11-05",
"extra_keys":null,
"file_ext":".asdf",
"filekind":"apcorr",
"filetype":"APCORR",
"instrument":"wfi",
"ld_tpn":"wfi_apcorr.ld_tpn",
"mapping":"REFERENCE",
"name":"wfi_apcorr.rmap",
"observatory":"roman",
"parkey":[
[
"ROMAN.META.INSTRUMENT.DETECTOR"
],
[
"ROMAN.META.EXPOSURE.START_TIME"
]
],
"sha1sum":"fdd9264c777ad225a6b5ed24fafe56818b2d294d",
"suffix":"apcorr",
"text_descr":"Aperture Correction",
"tpn":"wfi_apcorr.tpn",
"unique_rowkeys":null
},
"area":{
"classes":[
"Match",
Expand Down
20 changes: 20 additions & 0 deletions crds/roman/specs/wfi_abvegaoffset.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 2024-11-05',
'file_ext' : '.asdf',
'filekind' : 'abvegaoffset',
'filetype' : 'ABVEGAOFFSET',
'instrument' : 'wfi',
'ld_tpn' : 'wfi_abvegaoffset.ld_tpn',
'mapping' : 'REFERENCE',
'name' : 'wfi_abvegaoffset.rmap',
'observatory' : 'roman',
'parkey' : (('ROMAN.META.INSTRUMENT.DETECTOR',), ('ROMAN.META.EXPOSURE.START_TIME',)),
'sha1sum' : 'edb07f3085387c4fbb8c17b698ac8f9ed96bade9',
'suffix' : 'abvegaoffset',
'text_descr' : 'AB-Vega Magnitude Offset',
'tpn' : 'wfi_abvegaoffset.tpn',
}

selector = Match({
})
20 changes: 20 additions & 0 deletions crds/roman/specs/wfi_apcorr.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 2024-11-05',
'file_ext' : '.asdf',
'filekind' : 'apcorr',
'filetype' : 'APCORR',
'instrument' : 'wfi',
'ld_tpn' : 'wfi_apcorr.ld_tpn',
'mapping' : 'REFERENCE',
'name' : 'wfi_apcorr.rmap',
'observatory' : 'roman',
'parkey' : (('ROMAN.META.INSTRUMENT.DETECTOR',), ('ROMAN.META.EXPOSURE.START_TIME',)),
'sha1sum' : 'fdd9264c777ad225a6b5ed24fafe56818b2d294d',
'suffix' : 'apcorr',
'text_descr' : 'Aperture Correction',
'tpn' : 'wfi_apcorr.tpn',
}

selector = Match({
})
Loading