Skip to content

Query WCS directly to get the rotation and scale #834

@ejeschke

Description

@ejeschke

looking at your implementation of ginga.util.mosaic.CanvasMosaicer, it seems like it uses FITS WCS. For this purpose, I think that is fine (or can be left as a future PR if GWCS is really necessary).

Unfortunately, it is simply looking at the FITS header. I think it would be better to query the WCS directly to get the rotation and scale. That should support GWCS. I think a new PR would be appropriate, basically moving the functions from ginga.util.wcs to the wrappers in ginga.util.wcsmod. There it could eventually be refactored to make the appropriate calls to the actual wcs objects.

Originally posted by @ejeschke in #812 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenanceWork done to keep code maintained

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions