JuliaAstro / FITSIO.jl

Flexible Image Transport System (FITS) file support for Julia
http://juliaastro.org/FITSIO.jl/
MIT License
55 stars 29 forks source link

Add missing data type (UInt64/Culonglong) #193

Closed Heptazhou closed 2 months ago

Heptazhou commented 7 months ago

CFITSIO definitions for reference: https://heasarc.gsfc.nasa.gov/docs/software/fitsio/c/c_user/node20.html

Example file to reproduce error: https://data.sdss.org/sas/dr18/spectro/sdss/redux/v5_13_2/spectra/lite/3650/spec-3650-55244-0001.fits

MWE/MRE:

using FITSIO
fits = FITS("spec-3650-55244-0001.fits")
hdu = fits["SPALL"]
read(hdu, "SPECOBJID")

This pr with https://github.com/JuliaAstro/CFITSIO.jl/pull/22 will fix error(s) including: