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

xcube viewer takes a long time to load data #61

Closed
AliceBalfanz opened this issue Jul 22, 2019 · 1 comment · Fixed by #65
Closed

xcube viewer takes a long time to load data #61

AliceBalfanz opened this issue Jul 22, 2019 · 1 comment · Fixed by #65
Assignees

Comments

@AliceBalfanz
Copy link
Contributor

When opening http://viewer.cyanoalert.com/ it takes several minuites before one can access the cubes. The viewer first goes through all cubes configured in the server only after having gone though all of them the user can select a cube of interest.

Maybe it would be better to only load the names of the available cubes and then whenever a user is interested in a cube, the cube is loaded?
Alternatively, the user can access the loaded cubes while the others are still loading in the background?

@forman
Copy link
Member

forman commented Jul 24, 2019

This is because the CyanoAlert server associates massive amounts of vector data with each datasets. This ends up in an initial JSON response of around 60 MB.

The root cause is, that all dataset information is queried at once initially, therefore the solution is implement lazy loading for dataset detail information namely place groups and coordinate values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants