Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] If Switch has > 10 switches, can't write to FITS header #136

Open
pgriffin17 opened this issue Jan 15, 2024 · 0 comments
Open

[BUG] If Switch has > 10 switches, can't write to FITS header #136

pgriffin17 opened this issue Jan 15, 2024 · 0 comments
Labels
low priority Preferences and optimizations

Comments

@pgriffin17
Copy link
Collaborator

Due to FITS header implementation having 8 characters for FITS keys, the switch_info function may break with more than 10 switches on a switch. Of course, there may not be more than 10 switches on a given switch, but I think an alternate naming convention should be considered.

https://github.com/WWGolay/pyscope/blob/a9d9dc9ac7f153f325f8994358a13975c005089a/pyscope/observatory/observatory.py#L3253C21-L3253C21

@WWGolay WWGolay added the low priority Preferences and optimizations label Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority Preferences and optimizations
Projects
None yet
Development

No branches or pull requests

2 participants