Skip to content

Keep wavelengthrange information around after assign_wcs #10602

@stscijirahub

Description

@stscijirahub

Issue JP-4375 was created on JIRA by Ned Molter:

During testing of JP-4337 it was noticed by David Law and me that it's annoying to have to override the wavelengthrange reference file for all four of assign_wcs, background, extract_2d, and wfss_contam.

AFAIK, all steps downstream of assign_wcs require that assign_wcs was run.  It would be convenient to require the file once in assign_wcs and then keep it attached to the model somehow, either within the wcs or as metadata.

Alternatively, we could consider consuming the information into either the specwcs file or the photom file; however those have their own wavelength range information that is distinct, so this may cause more confusion than it alleviates.

This ticket is to discuss options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions