-
Notifications
You must be signed in to change notification settings - Fork 0
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
Tiles do not render properly after zoom #193
Comments
Update: It seem to be related to the fits file having 64 bit floating point precision. Converting it to 32 bit seem to have solved the issue. |
This might be related to a poor internet condition and/or high server load (hence slow tile generation) so that the tile cache is messed up. There are other similar issues reported. |
@kswang1029 thanks for the quick reply. Do you know a workaround I could try out? |
On the left hand side of the green circle at the top-right corner of the CARTA window, there is a “green cloud” as an indicator that tiles are streaming. On multi-image load, please try to observe the green cloud and wait until it disappears before zoom/pan your images. In this dev cycle, one of our developers is investigating this issue (or a similar one). FYI. |
The last image/animated .gif (#193 (comment)) does not show the green cloud. Can I assume that the images are not being steamed in that case? The issues still seem to persist though. |
Hmmm probably. If you hover over the green cloud, what's the latency it reports? |
The latency is usually between 8 and 50 ms. |
Could you provide the following info for diagnostics please? |
It is 8 files: |
I have now also tried to convert all files into .hdf5, even the small files below 1 GB. I have not seen any artifacts since then but I think it needs further testing to be sure that the conversion has an influence. |
CARTA generates tiles on the fly for non-hdf5 image format. It would require some computing resources if the image is large. hdf5 format, however, has pre-calculated tiles as well as histograms and other auxiliary data. These would save quite some resources for large images. So I guess this is the case. 🙂 |
And in the same order? |
Actually this order: |
Update: Using only hdf5 files and avoiding .fits completely, even the small files (500 MB in size), seem to be a workaround the issue. |
We have identified a solution and it is under testing. FYI. |
Describe the bug
Miss-alignment of image tile for one large (~23GB) .fits image. This seem to be a specific issue with the images I use.
To Reproduce
Expected behavior
Tiles should be renders in alignment
Screenshots or videos
Top left image. zoomed out, everything looks ok.
![screenshot](https://private-user-images.githubusercontent.com/55444940/252699658-d7203b44-74b5-4b12-8001-26657b19ad07.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTc4NDQsIm5iZiI6MTczODgxNzU0NCwicGF0aCI6Ii81NTQ0NDk0MC8yNTI2OTk2NTgtZDcyMDNiNDQtNzRiNS00YjEyLTgwMDEtMjY2NTdiMTlhZDA3LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA0NTIyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkNzYyYWVkMTZlZmVlMGI0YTViYTk4YWUwYzVmMTg1Y2YxMDVkZDcxNGZkODM0ODNhYmI4NDU4NDQwNWVlYTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.h1SrIqMPC90nukuYRA6po8Ipo5Zyce9hUxGnJA6bO4Y)
Top left image. zoomed in, one can notice the artifacts.
![screenshot2](https://private-user-images.githubusercontent.com/55444940/252699959-3ede6480-91b9-403d-9c8e-b40c374ca5c1.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTc4NDQsIm5iZiI6MTczODgxNzU0NCwicGF0aCI6Ii81NTQ0NDk0MC8yNTI2OTk5NTktM2VkZTY0ODAtOTFiOS00MDNkLTljOGUtYjQwYzM3NGNhNWMxLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA0NTIyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU1OTVlZTEyMWRjMmMwNGI5ZGVhN2ExMjJiZmQ4ZDhhNmU3NzcxNTUxNmRkZmM2Mjc4NTVhOGI0OGE1OGQzYWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6maHro1TOuydhS7kRxeeP8yGNxbrWAD_XsJEv16NSSg)
Top left image. zoomed in further, the tile is still incorrect but zoomed in so far one can not notice the bug. This is the worst part since one may think one is looking at the correct part of the sky.
![screenshot3](https://private-user-images.githubusercontent.com/55444940/252700388-522fe73c-114f-4fa8-8d6a-07266aec0d3e.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTc4NDQsIm5iZiI6MTczODgxNzU0NCwicGF0aCI6Ii81NTQ0NDk0MC8yNTI3MDAzODgtNTIyZmU3M2MtMTE0Zi00ZmE4LThkNmEtMDcyNjZhZWMwZDNlLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA0NTIyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJkMThlNmIzZjJjNjZmOWRjN2U1MjExYTViODVhYmNmYzIwZDBmNzgyZTAxYTI1Njg1MzI3N2JjOTNiODEyMjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.IfFa8aKB2fmuF-FJx79QOAYipfRYgPvdusFo0F5vwfo)
Platform info (please complete the following information):
The text was updated successfully, but these errors were encountered: