Skip to content

Commit

Permalink
changed to predefined cmap
Browse files Browse the repository at this point in the history
  • Loading branch information
acblackford authored Nov 18, 2024
1 parent 655ea9b commit dec90d9
Showing 1 changed file with 19 additions and 25 deletions.
44 changes: 19 additions & 25 deletions datasets/tornadoes2024-dow.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,31 +26,25 @@ layers:
- 0
- 20
sourceParams:
colormap: |
[
{"value": [55, 85], "color": "#add8e6"},
{"value": [86, 110], "color": "#90ee90"},
{"value": [111, 135], "color": "#ffe71f"},
{"value": [136, 165], "color": "#ffa500"},
{"value": [166, 200], "color": "#ff0000"},
{"value": [201, 310], "color": "#ff00ff"}
]
nodata: -999
legend:
type: categorical
stops:
- color: "#add8e6" # Light blue for EF0
label: EF0
- color: "#90ee90" # Green for EF1
label: EF1
- color: "#ffe71f" # Yellow for EF2
label: EF2
- color: "#ffa500" # Orange for EF3
label: EF3
- color: "#ff0000" # Red for EF4
label: EF4
- color: "#ff00ff" # Pink for EF5
label: EF5
colormap_name: magma
rescale:
- 55
- 250
legend:
type: gradient
min: "55 mph"
max: "310 mph"
stops:
- '#000004'
- '#180f3d'
- '#440f76'
- '#721f81'
- '#9e2f7f'
- '#cd4071'
- '#f1605d'
- '#fd9668'
- '#fec287'
- '#f0f921'
---

<Block>
Expand Down

0 comments on commit dec90d9

Please sign in to comment.