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

Include color table #5

Open
forman opened this issue Sep 19, 2017 · 3 comments
Open

Include color table #5

forman opened this issue Sep 19, 2017 · 3 comments

Comments

@forman
Copy link
Member

forman commented Sep 19, 2017

Please include the "standard" Land Cover CCI color table as attribute of variable lccs_class as a mapping from class value to RGB value. The attribute could be flag_colors and accompany the flags_meaning and flag_values attributes. (Although, "flag" is actually a wrong wording.)

@marpet
Copy link
Contributor

marpet commented Mar 2, 2018

Which format should the colors follow? What would be the best CCI Toolbox?
Hex values RGB: #ffff64,#ffff64,#ffff00 ...
Maybe the CSS way, so that also rgb(255,255,100) is possible?

@forman
Copy link
Member Author

forman commented Mar 2, 2018

I'd prefer an array color_map with dims (classes=N, color=4). But let's check CF conventions first.

@marpet
Copy link
Contributor

marpet commented Mar 2, 2018

There is no CF convention for this. My suggestion is inline with the other flag attributes.

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

2 participants