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

incorrect NaN when load fz image #1143

Closed
acdo2002 opened this issue Jul 8, 2022 · 0 comments · Fixed by #1171
Closed

incorrect NaN when load fz image #1143

acdo2002 opened this issue Jul 8, 2022 · 0 comments · Fixed by #1171
Assignees
Labels
bug Something isn't working

Comments

@acdo2002
Copy link
Contributor

acdo2002 commented Jul 8, 2022

Describe the bug
Loading "M17_SWex.fits.fz", the surrounding NaN values become negative float numbers instead of NaN.
Please compare "M17_SWex.fits.fz" and "M17_SWex.fits" in the carta.
If we use ds9 to read "M17_SWex.fits.fz", the surrounding NaN values are still NaN.
The images can be found in here

To Reproduce
Steps to reproduce the behavior:

  1. Open "M17_SWex.fits.fz", you can directly see the difference to "M17_SWex.fits"

Method to produce "M17_SWex.fits.fz":
I used cfitsio-4.1.0, ./fpack -g M17_SWex.fits

Expected behavior
The surrounding values of "M17_SWex.fits.fz" should be NaN.

Screenshots or videos
fz-NaN

Platform info (please complete the following information):

  • OS [e.g. macOS Monterey]: Ubuntu 20.04
  • Browser [e.g. chrome, safari, electron app]: chrome
  • Browser version [e.g. 22]: Version 102.0.5005.61
  • Backend branch [e.g. dev, v3b2 release]: v3b3
  • Frontend branch [e.g. dev, v3b2 release]: v3b3
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