-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DM-20169: Simplify default search path for fix_header #24
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Header Corrections for CFHT data | ||
|
||
Files must be in YAML format with name of the form `<instrument>-<observation_id>.yaml`. | ||
See the documentation in `astro_metadata_translator.fix_header`. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Header Corrections for DECam data | ||
|
||
Files must be in YAML format with name of the form `<instrument>-<observation_id>.yaml`. | ||
See the documentation in `astro_metadata_translator.fix_header`. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Header Corrections for HSC data | ||
|
||
Files must be in YAML format with name of the form `<instrument>-<observation_id>.yaml`. | ||
See the documentation in `astro_metadata_translator.fix_header`. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Header Corrections for SuprimeCam data | ||
|
||
Files must be in YAML format with name of the form `<instrument>-<observation_id>.yaml`. | ||
See the documentation in `astro_metadata_translator.fix_header`. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DETECTOR: NEW-ID | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thought we had agreed (maybe just by convention) that detector ids were integers. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This value is something for me to use in a test of header fixing. It's not being used in metadata translation at all -- I am checking that when a try to fix a header that purports to have this OBSID, that the detector header is replaced with that value. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, in DECam the DETECTOR header refers to the detector serial. It's not the detector name or number. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't it still raise a
ValueError
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where?