-
Notifications
You must be signed in to change notification settings - Fork 25
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
Address (some) keyword differences #354
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
108f4c1
add enum to S_ keywords
braingram 48c0b35
align cal_step titles
braingram acb39c4
align multispec titles
braingram 228c1db
align oifits titles
braingram cb70d1c
align DATAEND title
braingram 3d975c1
align DATASTRT title
braingram d6c088b
align DRPFRMS1 and DRPFRMS3 titles
braingram a6900f6
align DSETSTRT title, remove enum, kwd says 1-10, no 0
braingram 075427c
allow integer FOCUSPOS
braingram bbc015d
align GSCENTX GSCENTY titles
braingram a690fbb
align GS_MUDEC and GS_MURA titles
braingram c6121b8
align MODULE title
braingram a208c57
align MRSPRCHN title and enum
braingram 1d900f5
align MU_RA MU_DEC MU_EPOCH titles
braingram d1a8418
align NRESETS title
braingram e72705b
align NRIMDTPT title
braingram 15eeb96
align NRSTSTRT title
braingram 3c0ee81
align NUMDSETS title
braingram 112a153
align NUMDTHPT title
braingram c93ff3d
align NWFSEST and PWFSEET titles
braingram 1c744b6
align PROP_RA and PROP_DEC titles
braingram bb871b5
align R_ titles
braingram 383ca7a
align RA_REF titles
braingram dee5412
align SDP_VER title
braingram 2f4d82e
align SPATNSTP title
braingram 107f15a
align SPECNSTP title
braingram ad3e4ab
align TARG_RA TARG_DEC TARGURA TARUDEC titles
braingram b13d913
align VISITEND title
braingram 7655fff
align XOFFSET YOFFSET titles
braingram 62516e1
align WTYPE title
braingram 23c29d0
align crpix crval titles
braingram 35a80b8
correct MJD-AVG typo
braingram 4ef1df6
align PCX_X titles
braingram 74a5a66
align REFFRAME title
braingram 263ede1
align SHUTSTA title
braingram f56fc38
align SLT keyword names
braingram d692204
align SOURCEID title
braingram 38974ee
align S_REGION title
braingram 1e34809
align WAVSTART WAVEND titles
braingram 3420dc9
add changelog
braingram File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Update schema FITS keyword titles to match keyword dictionary. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,20 @@ def __repr__(self): | |
}, | ||
}, | ||
}, | ||
("PRIMARY", "FOCUSPOS"): { | ||
"type": { | ||
"dmd": { | ||
"union": {"integer"}, | ||
}, | ||
}, | ||
}, | ||
("PRIMARY", "MRSPRCHN"): { | ||
"enum": { | ||
"dmd": { | ||
"difference": {"ALL"}, | ||
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 wasn't quite sure about this one but the datamodel schemas list "ALL" but the keyword dictionary does not. |
||
}, | ||
}, | ||
} | ||
} | ||
|
||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
FOCUSPOS for nirspec is listed as "steps" and of type "integer". For niriss and fg it's listed as "mm" and of type "float".
Adding this expected difference allows it to be listed as a "number" in the datamodel schema.