Skip to content

How to isolate WCS and observation information from a header #4832

@dstansby

Description

@dstansby

When I'm reprojecting maps, I often want to change the metadata such that the WCS keywords are updated to values matching the new projection, but I want to keep the rest of the metadata (observer coordinate, observation time, observation wavelength etc etc.) the same.

When doing this, it would be helpful if there was a function that given a FITS header, could split it into two parts, one containing the projection specific WCS information, and one containing everything else.

Perhaps this should be an upstream astropy feature request?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions