Skip to content

Remove the SIP to PV conversion #612

Open

Description

@aguinot

In the split_exp package we are converting the WCS PV keywords to SIP to read the WCS with astropy, and this is not necessary. At the moment astropy cannot read the current WCS because the TYPE of the WCS is set to RA--TAN instead of RA--TPV. This was not a problem in the past because astropy allows inconsistency between the TYPE and the provided keywords, but now it is more strict about it. Also the TAN and TPV conventions are the same. I would propose to remove the conversion in the pipeline and instead update the TYPE in the header to avoid the dependence to an external package and changing the original WCS.

Activity

  1. added
    enhancement
    on Feb 15, 2023
  2. added this to the Re-run 2023 milestone on Apr 5, 2023
  3. lbaumo commented on Apr 5, 2023

    @lbaumo
    Contributor

    this has been implemented, but not yet merged

  4. lbaumo commented on Oct 16, 2023

    @lbaumo
    Contributor

    the RA-TPV and DEC-TPV in astropy do not give the same result as the current SIP implementation. this implementation matches with erin sheldon's WCS util

  5. removed this from the P3 re-run 2023 milestone on Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions