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

Custom color maps defined via .cpd files should be treated as custom color maps defined in the config file #1058

Open
konstntokas opened this issue Aug 8, 2024 · 0 comments

Comments

@konstntokas
Copy link
Contributor

konstntokas commented Aug 8, 2024

Is your feature request related to a problem? Please describe.
Custom color maps defined via .cpd files can be only used when linked to a data variable in Styles section of the xcube server config file. The custom color maps defined in the config file in the section CustomColorMaps however are created independently of any data variable and are available in the xcube viewer. It would be nice, if all custom color maps are treated the same way.

Describe the solution you'd like
Move the definition of the custom color maps defined via .cpd to the section CustomColorMaps and add an Identifier to it. Subsequently, this identifier can be used to link it to datasets, like it is done for custom color maps defined in the config file.

This issue is related to #1046

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