-
Notifications
You must be signed in to change notification settings - Fork 42
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
Fits images with positive CDELT1 value are not displayed #136
Comments
I can reproduce a strange behavior. The fits file does appear with these parameters though: Speculative thoughts:
|
May also be related to : #120 |
Thank you, @ManonMarchand, for your replies. Seems that the problem isn't connected with WCS. Here is an example of another image that is created the same way but using a CAR projection, and aladin-lite either doesn't show it. The point worth notice is that the value of the "max cut" in the layer settings is automatically set to 15 whereas the actual maximal value in the image is ~50. Probably, this somehow related to the datatype (however, I tried to save the same image with different dtypes, neither worked). |
Thanks for trying. Would you mind sharing the astropy snippet you wrote to create these fits images? @bmatthieu3 : Tweaks on maxCut does not change the output |
Got it! The images that aren't shown properly, the value of |
hi @dsavchenko - I fixed that, it was related to the webgl display method that do not draw triangles that are "backfacing" the view. I am using this culling backfacing to detect when triangles are crossing the view for specific allsky projections (aitoff, mercator) and hence I do not draw them. I close this commit. The new beta/release versions that will be released will appear on this page: https://aladin.cds.unistra.fr/AladinLite/doc/release/ |
Here is an example of the fits image that's not displayed.
It is created from scratch, using astropy. DS9 and fv read and display it properly.
The aladin-lite seems to recognise the WCS in the header (the view gets panned and zoomed to the proper sky region), but there is no image displayed regardless of the image settings (colormap etc.)
There isn't any unexpected output in the JS console.
Tried both https://aladin.cds.unistra.fr/AladinLite/ and an embedded instance.
The text was updated successfully, but these errors were encountered: