Open keflavich opened 2 months ago
OK, as often happens, the act of writing up the issue led to the "solution" (though I think it's just a workaround): the WCSes both have CD/CDELTs that differ a tiny amount. In the second case, it's only in the 14th decimal place.
I'd recommend having the 'are CDs equal?' check be a little softer - allow variation at the level of 1 part in 10^9, maybe?
Describe the bug These two FITS headers refuse to align with others. What is wrong with them?
To Reproduce H2 header:
Bania2 header:
Expected behavior AFAICT, these are perfectly reasonable FITS headers with valid WCSes. Astropy's WCS recognizes them.
Platform info (please complete the following information):
Additional context The Inspector console gives these messages:
Looking at those last messages.... is the issue just the incredibly tiny non-squareness? I'll try without that, but that is still a bug.