Skip to content
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

capitalize on read and warn, warn when keywords are capitalized on write for fits files #522

Merged
merged 4 commits into from Apr 23, 2020

Conversation

brianv0
Copy link
Contributor

@brianv0 brianv0 commented Apr 22, 2020

When reading from fits files from cfitsio>=3.38, cfitsio capitalizes keywords in some scenarios but not all. This PR normalizes capitalization when reading in all of those cases and warns the user this action has happened.

When writing to fits files, cfitsio>=3.38 will capitalize all keywords, including long ones. This PR will warn the user that this will be happening.

Copy link
Contributor

@ktlim ktlim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions for possible wording improvements.

src/fits.cc Outdated Show resolved Hide resolved
src/fits.cc Outdated Show resolved Hide resolved
brianv0 and others added 2 commits April 22, 2020 20:50
Co-Authored-By: Kian-Tat Lim <ktl@slac.stanford.edu>
Co-Authored-By: Kian-Tat Lim <ktl@slac.stanford.edu>
@brianv0 brianv0 merged commit db74236 into master Apr 23, 2020
@timj timj deleted the tickets/DM-24376 branch February 18, 2021 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants