openradar / cmweather

A library of useful colormaps for the weather and climate community, with numerous color vision deficiency friendly options.
https://cmweather.readthedocs.io/
MIT License
47 stars 7 forks source link

Add "turbone" differential reflectivity colormap #31

Closed wx4stg closed 8 months ago

wx4stg commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

@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.