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 "turbone" differential reflectivity colormap #31

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

wx4stg
Copy link
Contributor

@wx4stg wx4stg commented Feb 13, 2024

This adds a trimmed version of matplotlib bone and matplotlib turbo with a break in hue but no break in lightness. I personally like using this with a vmin of -2 and a vmax of 8 for radar differential reflectivity products.

This is designed to be better for CVD friendliness than RefDiff as the only lightness reversal takes place at 1dB (I see this as the threshold between ice and light rain). I can't decide if it would be better to move this to 0 dB (spherical targets).

Standard disclaimer that I am not color vision deficient and can only go based off what the graphs tell me. Criticisms from those more knowledgable on the subject are welcomed and encourged!

turbone
turbone

@wx4stg
Copy link
Contributor Author

wx4stg commented Feb 13, 2024

it probably makes more sense to plot turbone_r with viscm rather than standard turbone since usually 0dB (hail) is surrounded by heavy rain. here's that:
turbone-r

@zssherman
Copy link
Collaborator

@wx4stg Thanks for the PR! The changes look good to me! With regards to the question on moving the light reversal, I'm unsure. And can see if someone else has more insight on that.

Copy link
Collaborator

@mgrover1 mgrover1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great - thanks @wx4stg !!

@zssherman zssherman merged commit 2d6cb75 into openradar:main Feb 15, 2024
7 checks passed
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 this pull request may close these issues.

3 participants