astropy / astropy/specutils

Spectrum1D default loader doesn't read in uncertainties for JWST s3d data

Open
#802 3 comments 0 reactions 0 assignees View on GitHub
enhancement io
Dominant language
Python
Stars
204
Forks
134
Avg merge
12h 55m
Merged PRs (30d)
1

Description

When JWST s3d (spectral cube) data is read with Spectrum1D.read, it is not recognized as a known datatype, so the
default loader is used. This loader reads in the flux data, but not the uncertainty data. Loaders should be modified to locate the ERR extension and use that as the Spectrum1D uncertainty.

Contributor guide

Open the contributing guide

Research direction

Start at the Spectrum1D.read default loader path and trace how JWST s3d spectral-cube data is recognized and loaded. Verify that flux is read while the ERR extension is omitted; done means the loader uses ERR as the Spectrum1D uncertainty.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.