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

Add support for random access groups #187

Open
bensetterholm opened this issue May 1, 2023 · 0 comments
Open

Add support for random access groups #187

bensetterholm opened this issue May 1, 2023 · 0 comments

Comments

@bensetterholm
Copy link

I am trying to write a FITS-IDI file. According to the file standard (see §3.1), the first HDU block must be a "random-groups FITS data set that contains no data." However, this is not an HDU type supported by FITSIO.jl.

When loading the example file from the registered FITS conventions page, FITSIO.jl reads the first block in as an Image HDU. Attempting to read the data leads to an error (CFITSIO has encountered an error. Error code 320: illegal number of dimensions).

If I attempt to save a file, I cannot get NAXIS to set to zero, and if I try to set GCOUNT or PCOUNT values in a FITSHeader object, they seem to disappear upon file write.

Related: #111

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