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

ccdfits fails on very large fits files #114

Closed
teuben opened this issue Dec 26, 2022 · 1 comment
Closed

ccdfits fails on very large fits files #114

teuben opened this issue Dec 26, 2022 · 1 comment

Comments

@teuben
Copy link
Owner

teuben commented Dec 26, 2022

example of failure:

  ccdgen  cube1 noise 0,1 1024,1024,1024
  ccdfits cube1 cube1.fits
  fitshead cube1.fits 

fitshead will then spit out garbage. The header appears incomplete.

@teuben
Copy link
Owner Author

teuben commented Feb 11, 2024

The cause was some important variables in fitsio.c - offset and length related - that needed to be off_t instead of int. Old code (from miriad) that was never fully converted to 64bit.
Fixed now.

@teuben teuben closed this as completed Feb 11, 2024
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

No branches or pull requests

1 participant