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

BUNIT map header appears to be case sensitive #1187

Closed
ajm-ska opened this issue Aug 26, 2022 · 0 comments · Fixed by #1269
Closed

BUNIT map header appears to be case sensitive #1187

ajm-ska opened this issue Aug 26, 2022 · 0 comments · Fixed by #1269
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ajm-ska
Copy link
Collaborator

ajm-ska commented Aug 26, 2022

Describe the bug
We have received a helpdesk ticket from a user who has an issue with a header in their image files. BUNIT = 'Jy/Beam' results in the statistics widget showing NaN for FluxDensity. The user discovered that if they modify the header to BUNIT = 'Jy/beam', then CARTA correctly displays the FluxDensity value. The user says the same problem occurs in both CARTA v2.0 and v3.0.

To Reproduce
I have not personally tried it, but perhaps modify the BUNIT header in a FITS file from 'Jy/Beam' to 'Jy/beam' and check the FluxDensity value in the statistics widget each time.

Expected behavior
I assume it should not be case sensitive and any combination of Jy/Beam, Jy/Beam or JY/BEAM should work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants