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

Fix FITS file resizing issues #3640

Open
embray opened this issue Mar 27, 2015 · 0 comments
Open

Fix FITS file resizing issues #3640

embray opened this issue Mar 27, 2015 · 0 comments
Assignees

Comments

@embray
Copy link
Member

embray commented Mar 27, 2015

This is a sort of generic, broad issue as a reminder that there are still bugs that can occur when resizing FITS files.

Many of these bugs have to do with the fact that HDU objects contain bookkeeping such as the offset into the FITS file where that HDU's data starts. So if a file is opened in 'updated' mode, and some changes are flushed that result in the file having to be resized, not all that book keeping is kept properly up to date.

This relates to some of my desire to change the underlying I/O model for FITS files, where HDUs would be made more abstract, and I/O details about individual physical files would be handled at a different layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants