Skip to content

bug in wcs1d-fits reader when multiple axes #1246

@kelle

Description

@kelle

I’m struggling to read in some spectra that look like they should be regular wcs1d-fits, but we’re getting an error: Input WCS must have exactly one axis with spectral units, found 0.. We’ve tried spectral_axis_index = 0 but get the same error. The files do indeed have two axes. I feel like we need to add another header keyword which = “em” or “spect” but I don’t know what keyword to add. we have CTYPE = “LINEAR”. One failing file attached.

SDSS_J010448.46+153501.8_usdL1.5_Xshooter_VIS_Primeval-II.fits.gz

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