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

Add TileLevelMin, TileLevelMax and colormap attributes to STAC #935

Open
edd3x opened this issue Mar 4, 2024 · 0 comments
Open

Add TileLevelMin, TileLevelMax and colormap attributes to STAC #935

edd3x opened this issue Mar 4, 2024 · 0 comments

Comments

@edd3x
Copy link
Contributor

edd3x commented Mar 4, 2024

Currently, our web visualisation development team have been using the/datasetsendpoint from the xcube server API which provides tileLevelMin, tileLevelMax, colorBarName, colorBarMax and colorBarMin per data variable as part of the JSON output. We are however changing to ows.stac via the /ogc endpoint because it's faster, but the STAC JSON output does not provide the above-listed attributes.

I propose the implementation of the derive_tiling_scheme() and the get_color_mapping() in xcube/webapi/ows/stac/controllers.py so the xcube:data_vars will return the additional variables like tileLevelMin, tileLevelMax, colorBarName, colorBarMax and colorBarMin.

I have just implemented it in my local repository and worked out as we wanted.

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