Layer colors with clear boundaries
-
See how you can do it at bottom of this post
And you need to reduce the number of colors. You have definitely too much colors. One color per degree does not allow to get a non-smoothed scale. Meteoblue has 25 colors, but 15 is better.
-
@idefix37 Thank you. So I just made two rows for each couple temp range of two degrees with identical colors.
I did that, but there is a wierd bug, showing black lines as isolines, with variable width. Do you know how would I be able to fix that? -
@enterfornone
Could you show the code.
Try to replace
30->29.9
30->30
32->31.9
32->32
34->33.9
34->34
…
To make a very small smoothed transition.
I remember seeing a similar case. -
@idefix37 Thanks! That did it. Here is the code for the Meteoblue colors, if someone likes them:
[[231,[125,251,253,255]],
[233,[105,193,210,255]],
[234.9,[105,193,210,255]],
[235,[90,121,156,255]],
[236.9,[90,121,156,255]],
[237,[89,103,142,255]],
[238.9,[89,103,142,255]],
[239,[88,85,128,255]],
[240.9,[88,85,128,255]],
[241,[89,60,110,255]],
[242.9,[89,60,110,255]],
[243,[112,63,131,255]],
[244.9,[112,63,131,255]],
[245,[135,76,152,255]],
[246.9,[135,76,152,255]],
[247,[167,69,179,255]],
[248.9,[167,69,179,255]],
[249,[199,73,220,255]],
[250.9,[199,73,220,255]],
[251,[176,66,225,255]],
[252.9,[176,66,225,255]],
[253,[149,62,223,255]],
[254.9,[149,62,223,255]],
[255,[116,58,216,255]],
[256.9,[116,58,216,255]],
[257,[71,61,209,255]],
[258.9,[71,61,209,255]],
[259,[77,92,215,255]],
[260.9,[77,92,215,255]],
[261,[91,127,225,255]],
[262.9,[91,127,225,255]],
[263,[110,161,235,255]],
[264.9,[110,161,235,255]],
[265,[127,191,243,255]],
[266.9,[127,191,243,255]],
[267,[140,211,247,255]],
[268.9,[140,211,247,255]],
[269,[170,228,246,255]],
[270.9,[170,228,246,255]],
[271,[191,236,247,255]],
[272.9,[191,236,247,255]],
[273,[119,238,158,255]],
[274.9,[119,238,158,255]],
[275,[115,230,129,255]],
[276.9,[115,230,129,255]],
[277,[106,208,120,255]],
[278.9,[106,208,120,255]],
[279,[105,195,152,255]],
[280.9,[105,195,152,255]],
[281,[99,147,126,255]],
[282.9,[99,147,126,255]],
[285,[77,140,89,255]],
[284.9,[77,140,89,255]],
[285,[119,178,97,255]],
[286.9,[119,178,97,255]],
[287,[163,215,107,255]],
[288.9,[163,215,107,255]],
[289,[208,253,117,255]],
[290.9,[208,253,117,255]],
[291,[229,248,187,255]],
[292.9,[229,248,187,255]],
[293,[254,248,95,255]],
[294.9,[254,248,95,255]],
[295,[245,230,95,255]],
[296.9,[245,230,95,255]],
[297,[247,214,92,255]],
[298.9,[247,214,92,255]],
[299,[243,191,84,255]],
[300.9,[243,191,84,255]],
[301,[237,168,76,255]],
[302.9,[237,168,76,255]],
[303,[239,139,72,255]],
[304.9,[239,139,72,255]],
[305,[236,122,69,255]],
[306.9,[236,122,69,255]],
[307,[235,73,63,255]],
[308.9,[235,73,63,255]],
[309,[226,86,63,255]],
[310.9,[226,86,63,255]],
[311,[226,84,129,255]],
[312.9,[226,84,129,255]],
[313,[226,84,200,255]],
[314.9,[226,84,200,255]],
[315,[204,76,159,255]],
[316.9,[204,76,159,255]],
[317,[180,69,120,255]],
[318.9,[180,69,120,255]],
[319,[157,62,78,255]],
[320.9,[157,62,78,255]],
[321,[125,91,44,255]],
[322.9,[125,91,44,255]]] -
@enterfornone
And what do you get as Temperature map? At low zoom level -
I also did similar for the humidity map.
-
@enterfornone
Good job keep it up. -
@idefix37 Humidity layer - default with isolines:
[[0,[173,85,56,255]],
[29.9,[173,85,56,255]],
[30,[173,110,56,255]],
[39.9,[173,110,56,255]],
[40,[173,146,56,255]],
[49.9,[173,146,56,255]],
[50,[105,173,56,255]],
[59.9,[105,173,56,255]],
[60,[56,173,121,255]],
[69.9,[56,173,121,255]],
[70,[56,174,173,255]],
[74.9,[56,174,173,255]],
[75,[56,160,173,255]],
[79.9,[56,160,173,255]],
[80,[56,157,173,255]],
[82.9,[56,157,173,255]],
[83,[56,148,173,255]],
[86.9,[56,148,173,255]],
[87,[56,135,173,255]],
[89.9,[56,135,173,255]],
[90,[56,132,173,255]],
[92.9,[56,132,173,255]],
[93,[56,123,173,255]],
[96.9,[56,123,173,255]],
[97,[56,98,157,255]],
[98.9,[56,98,157,255]],
[99,[56,70,114,255]],
[100,[56,70,114,255]]] -
@enterfornone
Isolines ? I don’t see them. Or do you mean the boundary between the different color ranges?
Why don’t you show your new Temperature layer ? -
@idefix37 Yes, that's what I mean by isolines. My temp layer is in the post above.
-
@enterfornone
OK thank you. I thought it was your Humidity map.
I see you kept a very wide step between 0% and 30% as it is in the original color scale in Windy.
I changed it to get more details between 0% and 50% and just kept a small smoothed transition between colors explained by this post