WCS: Use programmatic building approach
https://docs.astropy.org/en/stable/wcs/
provides a nice programatic approach for building wcs coords and generating the header keywords. Use this instead of the semi manual method from headers
https://docs.astropy.org/en/stable/wcs/
provides a nice programatic approach for building wcs coords and generating the header keywords. Use this instead of the semi manual method from headers