Skip to content

Problem with .fts file header keywords #188

Open
@afkowalski

Description

@afkowalski

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions