xaos-project / XaoS

Real-time interactive fractal zoomer
https://xaos-project.github.io/
GNU General Public License v2.0
505 stars 59 forks source link

XAOS doesn't support the popular Base Reflectivity and Base Velocity palettes of radar software in a proper way #248

Open acidhorse1972 opened 4 months ago

acidhorse1972 commented 4 months ago

ktlx_20130531_2310_BV_0 5 ktlx_20130531_2314_NROT_0 5 BaseReflectivity Barnsley4 supertear

acidhorse1972 commented 4 months ago

I'd like to see a fluid solver that could model the 2D pattern of supercells utilizing the palettes that BR and BV use.

acidhorse1972 commented 4 months ago

The base reflectivity and enhanced echo tops palettes are similar but differ in few ranges of color.

acidhorse1972 commented 4 months ago

supercells and bow echo / squall line patterns resemble some of the disconnected Julia set patterns and some of the IFS fractals. Given the 500 millibar jet stream direction and surface wind directions and 850 millibar level winds and the shear that goes on produces flame like patterns that are unmistakable.

acidhorse1972 commented 4 months ago

Also I've saved the same palette patterns as Xaos palettes and they never save or reload the palette with the same colors I had chose and set in Xaos.

kovzol commented 4 months ago

Hi, thanks for your comments! Please can you share your palette pattern files? XaoS palettes may work differently as you expect.

acidhorse1972 commented 4 months ago

GIMP Palette Name: XaoS_Palette Columns: 16 # 0 0 0 color_0 85 0 255 color_1 0 170 0 color_2 255 255 0 color_3 255 85 0 color_4 255 0 0 color_5 255 0 255 color_6 170 0 255 color_7 0 0 0 color_8 240 162 139 color_9 0 0 0 color_10 106 87 189 color_11 0 0 0 color_12 0 0 0 color_13 0 0 0 color_14 0 0 0 color_15 0 0 0 color_16 148 188 243 color_17 0 0 0 color_18 231 146 14 color_19 0 0 0 color_20 184 147 68 color_21 0 0 0 color_22 169 248 152 color_23 0 0 0 color_24 0 0 0 color_25 0 0 0 color_26 152 97 184 color_27 0 0 0 color_28 247 92 235 color_29 0 0 0 color_30 RainbowReflectivity

acidhorse1972 commented 4 months ago

When I had that picture generated I saved the palette which I just posted. But it will not load those same colors. Use the potential coloring setting and 1/mu Also I haven't noticed a (1.0 - potential) setting for better transitional slopes.

acidhorse1972 commented 4 months ago

https://www.ncdc.noaa.gov/wct/ https://www.ncdc.noaa.gov/wct/install.php https://www.ncdc.noaa.gov/wct/source.php

NOAA has a palette file format *.wctpal for their radar "products"

# WCT palette - similar to other palettes, but with alpha added.
# Example 1: Very simple - equally spaced rainbow showing values between 0-50

#       VALUE  R    G     B    A
Color:  0      0     0  124  255
Color:  10     0     0  255  255
Color:  20     0   255    0  255  
Color:  30   255   255    0  255
Color:  40   255   200    0  255
Color:  50   255     0    0  255
acidhorse1972 commented 4 months ago

Some of the other software out there have:

;NEXRAD Level-3 palette for product code 56 - NxS Spectum Width

Product: BR
Units: DBZ
Step: 5

Color: -32 0 0 0
Color: -20 64 64 80
Color:  -6 100 100 130
Color:  -5 31 42 104
Color:   0 53 77 164
Color:  11 118 79 236
Color:  12 3 101 31
Color:  20 41 172 49
Color:  31 80 245 69
Color:  32 255 247 39
Color:  40 255 176 28
Color:  50 255 84 13
Color:  63 188 0 0
Color:  64 231 7 203
Color:  75 253 132 250
Color:  76 190 158 245
Color:  80 0 235 230
Color:  81 255 255 255
Color:  95 255 255 255
acidhorse1972 commented 4 months ago

I'm thinking it might be possible to apply a Base Velocity palette to the binary decomposition renderings too.

acidhorse1972 commented 4 months ago

I've determined it is a bug where the first two palette entries are being substituted with different colors when it is loaded from a saved palette. GIMP Palette Name: XaoS_Palette Columns: 16 # 0 0 0 color_0 85 0 255 color_1 0 170 0 color_2

When loading the correct entries above the result is: color_1 is being replaced with 0 85 0 and color_2 is being replaced with 0 0 170 so it seems that color_0 isn't being properly parsed. This is when Outcoloring mode is set to "potential" and plane is set 1 / mu. I'd really like to see how 1.0 - potential looks like too.