Skip to content

Fixes CROTA fallback for EUI maps - #8919

Closed
rpinho wants to merge 3 commits into
sunpy:mainfrom
rpinho:fix-eui-crota-fallback
Closed

rpinho wants to merge 3 commits into
sunpy:mainfrom
rpinho:fix-eui-crota-fallback

Conversation

@rpinho

@rpinho rpinho commented Nov 18, 2026 •

Copy link
Copy Markdown

An EUI map with CROTA and no PC or CD matrix raises TypeError when its rotation_matrix or wcs is evaluated. Removing the PC cards from the EUI test header reproduces the failure. The patch removes the property decorator from the CROTA method override. The tests cover three angles and two pixel-scale pairs against Astropy CROTA2 coordinates.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N

AI Assistance Disclosure

AI tools were used for:

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding
  • No AI tools were used

Regardless of AI use, the human contributor remains fully responsible for correctness, design choices, licensing compatibility, and long-term maintainability.

CharlesXmf

This comment was marked as low quality.

@rpinho

rpinho commented Nov 18, 2026

Copy link
Copy Markdown
Author

Fixed it, thanks!

CharlesXmf

This comment was marked as low quality.

@hayesla

hayesla commented Nov 18, 2026

Copy link
Copy Markdown
Member

Thanks for this. Closing as this case doesn’t arise for EUI data, which always includes the PC matrix, and we’d prefer contributions that address reported issues. If you’ve hit this with a real file, please open an issue with the header and we can take it from there.

@hayesla hayesla closed this Nov 18, 2026
@rpinho

rpinho commented Nov 18, 2026

Copy link
Copy Markdown
Author

Makes sense. Thanks for looking into this.

@rpinho

rpinho commented Nov 19, 2026

Copy link
Copy Markdown
Author

Hey, I understand this is not helpful. What would be helpful? We would be glad to help in any way we can. What's a hard problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants