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

Problem with .fts file header keywords #188

Open
afkowalski opened this issue May 9, 2023 · 0 comments
Open

Problem with .fts file header keywords #188

afkowalski opened this issue May 9, 2023 · 0 comments

Comments

@afkowalski
Copy link

Hi there,

I'm having trouble reading in a .fts file because the NAXISn keyword does not exist in the header. The NAXIS keyword exists. Note, this is a somewhat old data file used in solar physics.

Thank you,
Adam K.

julia> using FITSIO

julia> img = FITS("trac_WL_____a1_20030617_221948.fts")
ERROR: CFITSIO has encountered an error while processing trac_WL_____a1_20030617_221948.fts. Error code 224: missing NAXISn keywords
Detailed error message follows:
ffgtknjj found unexpected keyword or value for keyword no. 4.
Expected positive integer keyword NAXIS1, but instead
found keyword DATE with value '03/06/17, 22:19:48.278'
ffopen could not interpret primary array header of file:
trac_WL_____a1_20030617_221948.fts

Stacktrace:
[1] fits_assert_ok
@ ~/.julia/packages/CFITSIO/BfhtD/src/CFITSIO.jl:225 [inlined]
[2] fits_open_file(filename::String, mode::Int64)
@ CFITSIO ~/.julia/packages/CFITSIO/BfhtD/src/CFITSIO.jl:380
[3] FITS(filename::String, mode::String; extendedparser::Bool)
@ FITSIO ~/.julia/packages/FITSIO/Qdq7v/src/FITSIO.jl:183
[4] FITS (repeats 2 times)
@ ~/.julia/packages/FITSIO/Qdq7v/src/FITSIO.jl:180 [inlined]
[5] top-level scope
@ REPL[2]:1

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