Conversation
ericdrosas87
force-pushed
the
develop
branch
from
September 25, 2025 18:31
ef93f33 to
1adbe89
Compare
ericdrosas87
force-pushed
the
develop
branch
2 times, most recently
from
November 17, 2025 15:45
b036220 to
674c23d
Compare
ericdrosas87
force-pushed
the
develop
branch
from
November 20, 2025 18:08
05136f7 to
0c8fb84
Compare
jeffinnes
force-pushed
the
develop
branch
3 times, most recently
from
July 9, 2026 23:01
8d5aa97 to
3a50f7f
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There's been some interest in the potential for scripted downloads. It may be out of scope for the Skyviewer since it is a public tool, and not designed for scientific output, but nonetheless here is a proof-of-concept of how it could work:
ImageExportwaits on all layers to load, then starts an interval that checks Aladin's WebAssembly renderer to see if it has completed rendering.The
isRenderingmethod corresponds to if Web Assembly is currently rendering tiles, but not necessarily if the download queue is empty. It can go from true to false to true again if tiles finish but more are still in the queue. There is not another interface that I have found for any sort of status on the web assembly download queue. This might be something that CDS could verify exists, or expose if it doesn't. Either way, test on a slow connection to see if the download waits til the tiles complete their load.An alternative method would be using the Performance Observer API to watch for resource calls initiated by
imgelements (the HTML canvas for aladin-lite is considered animgby performance observers) and wait til those have completed. Accessing Aladin's list of promises is possibly easier though.Issue open with CDS to determine if there is a way to detect all tiles are downloaded and rendered: cds-astro/aladin-lite#313