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

Ensure latitudes decreasing in normalize_dataset #327

Closed
pont-us opened this issue Jul 10, 2020 · 0 comments
Closed

Ensure latitudes decreasing in normalize_dataset #327

pont-us opened this issue Jul 10, 2020 · 0 comments

Comments

@pont-us
Copy link
Member

pont-us commented Jul 10, 2020

As described in the related issue #251 , the xcube viewer currently requires latitudes to be in descending order. Issue #251 is the issue for actually fixing this in the viewer (since both latitude orderings should be supported in xcubes). This issue is for the temporary fix of reordering the latitudes.

Problem: datasets with ascending latitudes don't plot in the xcube viewer.

Suggested (temporary) solution: make normalize_dataset in core.store.normalize ensure ascending latitudes. Currently it does the opposite, ensuring descending latitudes. This will not automatically ensure descending latitudes in every cube, but will force them to descending when normalize_dataset is called from a plugin to carry out the standard normalizations on an imported dataset.

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

No branches or pull requests

1 participant