From af09333fd94347d68b196bfd01fe8392cd2b81d8 Mon Sep 17 00:00:00 2001 From: Andrew Blackford <62357205+acblackford@users.noreply.github.com> Date: Fri, 28 Feb 2025 11:22:59 -0600 Subject: [PATCH 01/10] fixed legend indents in tornado data --- datasets/tornadoes2024-dow.data.mdx | 376 ++++++++++++++-------------- 1 file changed, 188 insertions(+), 188 deletions(-) diff --git a/datasets/tornadoes2024-dow.data.mdx b/datasets/tornadoes2024-dow.data.mdx index 4613ae1d5..cdf498f92 100644 --- a/datasets/tornadoes2024-dow.data.mdx +++ b/datasets/tornadoes2024-dow.data.mdx @@ -36,26 +36,26 @@ layers: - 0 - 20 sourceParams: - colormap_name: gist_ncar - nodata: -999 - rescale: - - 55 - - 250 - legend: - type: gradient - min: "55 mph" - max: "310 mph" - stops: - - '#000066' - - '#330099' - - '#3366FF' - - '#33CC33' - - '#66FF33' - - '#FFFF00' - - '#FF9933' - - '#FF0000' - - '#CC0033' - - '#990066' + colormap_name: gist_ncar + nodata: -999 + rescale: + - 55 + - 250 + legend: + type: gradient + min: "55 mph" + max: "310 mph" + stops: + - '#000066' + - '#330099' + - '#3366FF' + - '#33CC33' + - '#66FF33' + - '#FFFF00' + - '#FF9933' + - '#FF0000' + - '#CC0033' + - '#990066' info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -72,23 +72,23 @@ layers: - 0 - 20 sourceParams: - colormap_name: turbo - nodata: -32768 - rescale: - - -10 - - 50 - legend: - type: gradient - min: "-10 dBZ" - max: "50 dBZ" - stops: - - [ "#30123B", -10 ] # Deep purple (lowest reflectivity) - - [ "#443983", 0 ] # Dark blue - - [ "#31678E", 10 ] # Cyan - - [ "#35B779", 20 ] # Green - - [ "#FDE725", 35 ] # Yellow - - [ "#FF9900", 45 ] # Orange - - [ "#FF0000", 50 ] # Red (highest reflectivity) + colormap_name: turbo + nodata: -32768 + rescale: + - -10 + - 50 + legend: + type: gradient + min: "-10 dBZ" + max: "50 dBZ" + stops: + - [ "#30123B", -10 ] # Deep purple (lowest reflectivity) + - [ "#443983", 0 ] # Dark blue + - [ "#31678E", 10 ] # Cyan + - [ "#35B779", 20 ] # Green + - [ "#FDE725", 35 ] # Yellow + - [ "#FF9900", 45 ] # Orange + - [ "#FF0000", 50 ] # Red (highest reflectivity) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -105,23 +105,23 @@ layers: - 0 - 20 sourceParams: - colormap_name: seismic - nodata: -32768 - rescale: - - -75 - - 75 - legend: - type: gradient - min: "-75 m/s" - max: "75 m/s" - stops: - - [ "#0000FF", -75 ] # Deep blue (negative extreme) - - [ "#3399FF", -50 ] # Light blue - - [ "#66CCFF", -25 ] # Very light blue - - [ "#FFFFFF", 0 ] # White (zero velocity) - - [ "#FF9999", 25 ] # Light pink - - [ "#FF6666", 50 ] # Light red - - [ "#FF0000", 75 ] # Deep red (positive extreme) + colormap_name: seismic + nodata: -32768 + rescale: + - -75 + - 75 + legend: + type: gradient + min: "-75 m/s" + max: "75 m/s" + stops: + - [ "#0000FF", -75 ] # Deep blue (negative extreme) + - [ "#3399FF", -50 ] # Light blue + - [ "#66CCFF", -25 ] # Very light blue + - [ "#FFFFFF", 0 ] # White (zero velocity) + - [ "#FF9999", 25 ] # Light pink + - [ "#FF6666", 50 ] # Light red + - [ "#FF0000", 75 ] # Deep red (positive extreme) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -145,22 +145,22 @@ layers: - 0 - 20 sourceParams: - colormap_name: turbo - nodata: -32768 - rescale: - - 0 - - 1 - legend: - type: gradient - min: "0" - max: "1" - stops: - - [ "#30123B", 0.0 ] # Deep purple (low correlation) - - [ "#443983", 0.2 ] # Dark blue - - [ "#31678E", 0.4 ] # Cyan - - [ "#35B779", 0.6 ] # Green - - [ "#FDE725", 0.8 ] # Yellow - - [ "#FF0000", 1.0 ] # Red (high correlation) + colormap_name: turbo + nodata: -32768 + rescale: + - 0 + - 1 + legend: + type: gradient + min: "0" + max: "1" + stops: + - [ "#30123B", 0.0 ] # Deep purple (low correlation) + - [ "#443983", 0.2 ] # Dark blue + - [ "#31678E", 0.4 ] # Cyan + - [ "#35B779", 0.6 ] # Green + - [ "#FDE725", 0.8 ] # Yellow + - [ "#FF0000", 1.0 ] # Red (high correlation) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -184,22 +184,22 @@ layers: - 0 - 20 sourceParams: - colormap_name: rdpu - nodata: -32768 - rescale: - - 0 - - 25 - legend: - type: gradient - min: "0 m/s" - max: "25 m/s" - stops: - - [ "#f7f4f9", 0 ] # Light pink (low spectrum width) - - [ "#fddbc7", 5 ] # Very light pink - - [ "#f4a582", 10 ] # Pinkish-orange - - [ "#d6604d", 15 ] # Orange-red - - [ "#b2182b", 20 ] # Deep red - - [ "#67001f", 25 ] # Deepest purple (high spectrum width) + colormap_name: rdpu + nodata: -32768 + rescale: + - 0 + - 25 + legend: + type: gradient + min: "0 m/s" + max: "25 m/s" + stops: + - [ "#f7f4f9", 0 ] # Light pink (low spectrum width) + - [ "#fddbc7", 5 ] # Very light pink + - [ "#f4a582", 10 ] # Pinkish-orange + - [ "#d6604d", 15 ] # Orange-red + - [ "#b2182b", 20 ] # Deep red + - [ "#67001f", 25 ] # Deepest purple (high spectrum width) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -216,24 +216,24 @@ layers: - 0 - 20 sourceParams: - colormap_name: nipy_spectral - nodata: -32768 - rescale: - - -5 - - 7 - legend: - type: gradient - min: "-5 dB" - max: "7 dB" - stops: - - [ "#000080", -5 ] # Dark blue (low ZDR) - - [ "#0000FF", -3 ] # Blue - - [ "#00FFFF", -1 ] # Cyan - - [ "#00FF00", 1 ] # Green - - [ "#FFFF00", 3 ] # Yellow - - [ "#FFA500", 5 ] # Orange - - [ "#FF0000", 6 ] # Red - - [ "#800080", 7 ] # Purple (high ZDR) + colormap_name: nipy_spectral + nodata: -32768 + rescale: + - -5 + - 7 + legend: + type: gradient + min: "-5 dB" + max: "7 dB" + stops: + - [ "#000080", -5 ] # Dark blue (low ZDR) + - [ "#0000FF", -3 ] # Blue + - [ "#00FFFF", -1 ] # Cyan + - [ "#00FF00", 1 ] # Green + - [ "#FFFF00", 3 ] # Yellow + - [ "#FFA500", 5 ] # Orange + - [ "#FF0000", 6 ] # Red + - [ "#800080", 7 ] # Purple (high ZDR) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -250,23 +250,23 @@ layers: - 0 - 20 sourceParams: - colormap_name: turbo - nodata: -32768 - rescale: - - -10 - - 50 - legend: - type: gradient - min: "-10 dBZ" - max: "50 dBZ" - stops: - - [ "#30123B", -10 ] # Deep purple (lowest reflectivity) - - [ "#443983", 0 ] # Dark blue - - [ "#31678E", 10 ] # Cyan - - [ "#35B779", 20 ] # Green - - [ "#FDE725", 35 ] # Yellow - - [ "#FF9900", 45 ] # Orange - - [ "#FF0000", 50 ] # Red (highest reflectivity) + colormap_name: turbo + nodata: -32768 + rescale: + - -10 + - 50 + legend: + type: gradient + min: "-10 dBZ" + max: "50 dBZ" + stops: + - [ "#30123B", -10 ] # Deep purple (lowest reflectivity) + - [ "#443983", 0 ] # Dark blue + - [ "#31678E", 10 ] # Cyan + - [ "#35B779", 20 ] # Green + - [ "#FDE725", 35 ] # Yellow + - [ "#FF9900", 45 ] # Orange + - [ "#FF0000", 50 ] # Red (highest reflectivity) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -290,23 +290,23 @@ layers: - 0 - 20 sourceParams: - colormap_name: seismic - nodata: -32768 - rescale: - - -75 - - 75 - legend: - type: gradient - min: "-75 m/s" - max: "75 m/s" - stops: - - [ "#0000FF", -75 ] # Deep blue (negative extreme) - - [ "#3399FF", -50 ] # Light blue - - [ "#66CCFF", -25 ] # Very light blue - - [ "#FFFFFF", 0 ] # White (zero velocity) - - [ "#FF9999", 25 ] # Light pink - - [ "#FF6666", 50 ] # Light red - - [ "#FF0000", 75 ] # Deep red (positive extreme) + colormap_name: seismic + nodata: -32768 + rescale: + - -75 + - 75 + legend: + type: gradient + min: "-75 m/s" + max: "75 m/s" + stops: + - [ "#0000FF", -75 ] # Deep blue (negative extreme) + - [ "#3399FF", -50 ] # Light blue + - [ "#66CCFF", -25 ] # Very light blue + - [ "#FFFFFF", 0 ] # White (zero velocity) + - [ "#FF9999", 25 ] # Light pink + - [ "#FF6666", 50 ] # Light red + - [ "#FF0000", 75 ] # Deep red (positive extreme) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -330,22 +330,22 @@ layers: - 0 - 20 sourceParams: - colormap_name: turbo - nodata: -32768 - rescale: - - 0 - - 1 - legend: - type: gradient - min: "0" - max: "1" - stops: - - [ "#30123B", 0.0 ] # Deep purple (low correlation) - - [ "#443983", 0.2 ] # Dark blue - - [ "#31678E", 0.4 ] # Cyan - - [ "#35B779", 0.6 ] # Green - - [ "#FDE725", 0.8 ] # Yellow - - [ "#FF0000", 1.0 ] # Red (high correlation) + colormap_name: turbo + nodata: -32768 + rescale: + - 0 + - 1 + legend: + type: gradient + min: "0" + max: "1" + stops: + - [ "#30123B", 0.0 ] # Deep purple (low correlation) + - [ "#443983", 0.2 ] # Dark blue + - [ "#31678E", 0.4 ] # Cyan + - [ "#35B779", 0.6 ] # Green + - [ "#FDE725", 0.8 ] # Yellow + - [ "#FF0000", 1.0 ] # Red (high correlation) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -362,22 +362,22 @@ layers: - 0 - 20 sourceParams: - colormap_name: rdpu - nodata: -32768 - rescale: - - 0 - - 25 - legend: - type: gradient - min: "0 m/s" - max: "25 m/s" - stops: - - [ "#f7f4f9", 0 ] # Light pink (low spectrum width) - - [ "#fddbc7", 5 ] # Very light pink - - [ "#f4a582", 10 ] # Pinkish-orange - - [ "#d6604d", 15 ] # Orange-red - - [ "#b2182b", 20 ] # Deep red - - [ "#67001f", 25 ] # Deepest purple (high spectrum width) + colormap_name: rdpu + nodata: -32768 + rescale: + - 0 + - 25 + legend: + type: gradient + min: "0 m/s" + max: "25 m/s" + stops: + - [ "#f7f4f9", 0 ] # Light pink (low spectrum width) + - [ "#fddbc7", 5 ] # Very light pink + - [ "#f4a582", 10 ] # Pinkish-orange + - [ "#d6604d", 15 ] # Orange-red + - [ "#b2182b", 20 ] # Deep red + - [ "#67001f", 25 ] # Deepest purple (high spectrum width) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -394,24 +394,24 @@ layers: - 0 - 20 sourceParams: - colormap_name: nipy_spectral - nodata: -32768 - rescale: - - -5 - - 7 - legend: - type: gradient - min: "-5 dB" - max: "7 dB" - stops: - - [ "#000080", -5 ] # Dark blue (low ZDR) - - [ "#0000FF", -3 ] # Blue - - [ "#00FFFF", -1 ] # Cyan - - [ "#00FF00", 1 ] # Green - - [ "#FFFF00", 3 ] # Yellow - - [ "#FFA500", 5 ] # Orange - - [ "#FF0000", 6 ] # Red - - [ "#800080", 7 ] # Purple (high ZDR) + colormap_name: nipy_spectral + nodata: -32768 + rescale: + - -5 + - 7 + legend: + type: gradient + min: "-5 dB" + max: "7 dB" + stops: + - [ "#000080", -5 ] # Dark blue (low ZDR) + - [ "#0000FF", -3 ] # Blue + - [ "#00FFFF", -1 ] # Cyan + - [ "#00FF00", 1 ] # Green + - [ "#FFFF00", 3 ] # Yellow + - [ "#FFA500", 5 ] # Orange + - [ "#FF0000", 6 ] # Red + - [ "#800080", 7 ] # Purple (high ZDR) info: source: Doppler on Wheels (DOW) spatialExtent: Local From 35895d1fc32132bedd4aa9ecdf7f17a88e27a843 Mon Sep 17 00:00:00 2001 From: Andrew Blackford <62357205+acblackford@users.noreply.github.com> Date: Fri, 28 Feb 2025 11:29:15 -0600 Subject: [PATCH 02/10] fix blizzard legend tab typo --- datasets/blizzard-count-1950-2021.data.mdx | 22 ++++++------ datasets/blizzard-era5.data.mdx | 42 +++++++++++----------- datasets/blizzard-merra2.data.mdx | 42 +++++++++++----------- 3 files changed, 53 insertions(+), 53 deletions(-) diff --git a/datasets/blizzard-count-1950-2021.data.mdx b/datasets/blizzard-count-1950-2021.data.mdx index f2c4bfa49..d7d8a8136 100644 --- a/datasets/blizzard-count-1950-2021.data.mdx +++ b/datasets/blizzard-count-1950-2021.data.mdx @@ -33,17 +33,17 @@ layers: rescale: - 1 - 50 - legend: - type: gradient - stops: - - color: "#30123b" - label: 1 - - color: "#4146d1" - - color: "#23d775" - - color: "#f9f510" - - color: "#fa6b02" - - color: "#900c00" - label: 50 + legend: + type: gradient + stops: + - color: "#30123b" + label: 1 + - color: "#4146d1" + - color: "#23d775" + - color: "#f9f510" + - color: "#fa6b02" + - color: "#900c00" + label: 50 info: source: NCEI spatialExtent: Northern and Eastern United States diff --git a/datasets/blizzard-era5.data.mdx b/datasets/blizzard-era5.data.mdx index e45179c74..ed7e1904f 100644 --- a/datasets/blizzard-era5.data.mdx +++ b/datasets/blizzard-era5.data.mdx @@ -33,27 +33,27 @@ layers: rescale: - 240 - 315 - legend: - type: gradient - stops: - - color: "#3CCBCE" - - label: 240 k (-30 F) - - color: "#C5F8FF" - - color: "#FEC5FF" - - color: "#E079FB" - - color: "#094FC9" - - color: "#009FFF" - - color: "#44E2FF" - - label: 273 K (0 F) - - color: "#147F4F" - - color: "#79B32C" - - color: "#FDFE00" - - color: "#FF8700" - - color: "#FF0F00" - - color: "#9D0F2B" - - color: "#4D0000" - - color: "#BA2E6D" - - label: 315 K (110 F) + legend: + type: gradient + stops: + - color: "#3CCBCE" + - label: 240 k (-30 F) + - color: "#C5F8FF" + - color: "#FEC5FF" + - color: "#E079FB" + - color: "#094FC9" + - color: "#009FFF" + - color: "#44E2FF" + - label: 273 K (0 F) + - color: "#147F4F" + - color: "#79B32C" + - color: "#FDFE00" + - color: "#FF8700" + - color: "#FF0F00" + - color: "#9D0F2B" + - color: "#4D0000" + - color: "#BA2E6D" + - label: 315 K (110 F) info: source: ECMWF diff --git a/datasets/blizzard-merra2.data.mdx b/datasets/blizzard-merra2.data.mdx index 30a0f997b..6be50d0cb 100644 --- a/datasets/blizzard-merra2.data.mdx +++ b/datasets/blizzard-merra2.data.mdx @@ -33,27 +33,27 @@ layers: rescale: - 240 - 315 - legend: - type: gradient - stops: - - color: "#3CCBCE" - - label: 240 k (-30 F) - - color: "#C5F8FF" - - color: "#FEC5FF" - - color: "#E079FB" - - color: "#094FC9" - - color: "#009FFF" - - color: "#44E2FF" - - label: 273 K (0 F) - - color: "#147F4F" - - color: "#79B32C" - - color: "#FDFE00" - - color: "#FF8700" - - color: "#FF0F00" - - color: "#9D0F2B" - - color: "#4D0000" - - color: "#BA2E6D" - - label: 315 K (110 F) + legend: + type: gradient + stops: + - color: "#3CCBCE" + - label: 240 k (-30 F) + - color: "#C5F8FF" + - color: "#FEC5FF" + - color: "#E079FB" + - color: "#094FC9" + - color: "#009FFF" + - color: "#44E2FF" + - label: 273 K (0 F) + - color: "#147F4F" + - color: "#79B32C" + - color: "#FDFE00" + - color: "#FF8700" + - color: "#FF0F00" + - color: "#9D0F2B" + - color: "#4D0000" + - color: "#BA2E6D" + - label: 315 K (110 F) info: source: NASA GMAO spatialExtent: Global From 99dd462c603875dc6a51a5907a3c3099a5b3d41f Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Fri, 28 Feb 2025 11:51:15 -0600 Subject: [PATCH 03/10] Fix typo in caption --- stories/hurricane-ian.stories.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stories/hurricane-ian.stories.mdx b/stories/hurricane-ian.stories.mdx index 119199012..69dd02a25 100644 --- a/stories/hurricane-ian.stories.mdx +++ b/stories/hurricane-ian.stories.mdx @@ -76,7 +76,7 @@ taxonomy: attrAuthor='Harmonized Landsat and Sentinel-2' attrUrl='https://hls.gsfc.nasa.gov/' > - Figure 2 and 3: HLS NDVI pre/post-Ian over Sanible Island, Cape Coral, and portions of Fort Myers. + Figure 2 and 3: HLS NDVI pre/post-Ian over Sanibel Island, Cape Coral, and portions of Fort Myers. From 712593a9da98701c8f505520669cd17f534cb899 Mon Sep 17 00:00:00 2001 From: Andrew Blackford <62357205+acblackford@users.noreply.github.com> Date: Fri, 28 Feb 2025 12:00:15 -0600 Subject: [PATCH 04/10] remove dash on legend labels - blizzards --- datasets/blizzard-era5.data.mdx | 6 +++--- datasets/blizzard-merra2.data.mdx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/datasets/blizzard-era5.data.mdx b/datasets/blizzard-era5.data.mdx index ed7e1904f..a7cbcfff3 100644 --- a/datasets/blizzard-era5.data.mdx +++ b/datasets/blizzard-era5.data.mdx @@ -37,14 +37,14 @@ layers: type: gradient stops: - color: "#3CCBCE" - - label: 240 k (-30 F) + label: 240 k (-30 F) - color: "#C5F8FF" - color: "#FEC5FF" - color: "#E079FB" - color: "#094FC9" - color: "#009FFF" - color: "#44E2FF" - - label: 273 K (0 F) + label: 273 K (0 F) - color: "#147F4F" - color: "#79B32C" - color: "#FDFE00" @@ -53,7 +53,7 @@ layers: - color: "#9D0F2B" - color: "#4D0000" - color: "#BA2E6D" - - label: 315 K (110 F) + label: 315 K (110 F) info: source: ECMWF diff --git a/datasets/blizzard-merra2.data.mdx b/datasets/blizzard-merra2.data.mdx index 6be50d0cb..d9c3138bd 100644 --- a/datasets/blizzard-merra2.data.mdx +++ b/datasets/blizzard-merra2.data.mdx @@ -37,14 +37,14 @@ layers: type: gradient stops: - color: "#3CCBCE" - - label: 240 k (-30 F) + label: 240 k (-30 F) - color: "#C5F8FF" - color: "#FEC5FF" - color: "#E079FB" - color: "#094FC9" - color: "#009FFF" - color: "#44E2FF" - - label: 273 K (0 F) + label: 273 K (0 F) - color: "#147F4F" - color: "#79B32C" - color: "#FDFE00" @@ -53,7 +53,7 @@ layers: - color: "#9D0F2B" - color: "#4D0000" - color: "#BA2E6D" - - label: 315 K (110 F) + label: 315 K (110 F) info: source: NASA GMAO spatialExtent: Global From 99bcacd80c2d426c3377b7d22efdbe42b6ee68fd Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Fri, 28 Feb 2025 12:09:08 -0600 Subject: [PATCH 05/10] Fix tornado legend stops --- datasets/tornadoes2024-dow.data.mdx | 136 ++++++++++++++-------------- 1 file changed, 68 insertions(+), 68 deletions(-) diff --git a/datasets/tornadoes2024-dow.data.mdx b/datasets/tornadoes2024-dow.data.mdx index cdf498f92..71acbedf9 100644 --- a/datasets/tornadoes2024-dow.data.mdx +++ b/datasets/tornadoes2024-dow.data.mdx @@ -82,13 +82,13 @@ layers: min: "-10 dBZ" max: "50 dBZ" stops: - - [ "#30123B", -10 ] # Deep purple (lowest reflectivity) - - [ "#443983", 0 ] # Dark blue - - [ "#31678E", 10 ] # Cyan - - [ "#35B779", 20 ] # Green - - [ "#FDE725", 35 ] # Yellow - - [ "#FF9900", 45 ] # Orange - - [ "#FF0000", 50 ] # Red (highest reflectivity) + - "#30123B" # Deep purple (lowest reflectivity) + - "#443983" # Dark blue + - "#31678E" # Cyan + - "#35B779" # Green + - "#FDE725" # Yellow + - "#FF9900" # Orange + - "#FF0000" # Red (highest reflectivity) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -115,13 +115,13 @@ layers: min: "-75 m/s" max: "75 m/s" stops: - - [ "#0000FF", -75 ] # Deep blue (negative extreme) - - [ "#3399FF", -50 ] # Light blue - - [ "#66CCFF", -25 ] # Very light blue - - [ "#FFFFFF", 0 ] # White (zero velocity) - - [ "#FF9999", 25 ] # Light pink - - [ "#FF6666", 50 ] # Light red - - [ "#FF0000", 75 ] # Deep red (positive extreme) + - "#0000FF" # Deep blue (negative extreme) + - "#3399FF" # Light blue + - "#66CCFF" # Very light blue + - "#FFFFFF" # White (zero velocity) + - "#FF9999" # Light pink + - "#FF6666" # Light red + - "#FF0000" # Deep red (positive extreme) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -155,12 +155,12 @@ layers: min: "0" max: "1" stops: - - [ "#30123B", 0.0 ] # Deep purple (low correlation) - - [ "#443983", 0.2 ] # Dark blue - - [ "#31678E", 0.4 ] # Cyan - - [ "#35B779", 0.6 ] # Green - - [ "#FDE725", 0.8 ] # Yellow - - [ "#FF0000", 1.0 ] # Red (high correlation) + - "#30123B" # Deep purple (low correlation) + - "#443983" # Dark blue + - "#31678E" # Cyan + - "#35B779" # Green + - "#FDE725" # Yellow + - "#FF0000" # Red (high correlation) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -194,12 +194,12 @@ layers: min: "0 m/s" max: "25 m/s" stops: - - [ "#f7f4f9", 0 ] # Light pink (low spectrum width) - - [ "#fddbc7", 5 ] # Very light pink - - [ "#f4a582", 10 ] # Pinkish-orange - - [ "#d6604d", 15 ] # Orange-red - - [ "#b2182b", 20 ] # Deep red - - [ "#67001f", 25 ] # Deepest purple (high spectrum width) + - "#f7f4f9" # Light pink (low spectrum width) + - "#fddbc7" # Very light pink + - "#f4a582" # Pinkish-orange + - "#d6604d" # Orange-red + - "#b2182b" # Deep red + - "#67001f" # Deepest purple (high spectrum width) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -226,14 +226,14 @@ layers: min: "-5 dB" max: "7 dB" stops: - - [ "#000080", -5 ] # Dark blue (low ZDR) - - [ "#0000FF", -3 ] # Blue - - [ "#00FFFF", -1 ] # Cyan - - [ "#00FF00", 1 ] # Green - - [ "#FFFF00", 3 ] # Yellow - - [ "#FFA500", 5 ] # Orange - - [ "#FF0000", 6 ] # Red - - [ "#800080", 7 ] # Purple (high ZDR) + - "#000080" # Dark blue (low ZDR) + - "#0000FF" # Blue + - "#00FFFF" # Cyan + - "#00FF00" # Green + - "#FFFF00" # Yellow + - "#FFA500" # Orange + - "#FF0000" # Red + - "#800080" # Purple (high ZDR) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -260,13 +260,13 @@ layers: min: "-10 dBZ" max: "50 dBZ" stops: - - [ "#30123B", -10 ] # Deep purple (lowest reflectivity) - - [ "#443983", 0 ] # Dark blue - - [ "#31678E", 10 ] # Cyan - - [ "#35B779", 20 ] # Green - - [ "#FDE725", 35 ] # Yellow - - [ "#FF9900", 45 ] # Orange - - [ "#FF0000", 50 ] # Red (highest reflectivity) + - "#30123B" # Deep purple (lowest reflectivity) + - "#443983" # Dark blue + - "#31678E" # Cyan + - "#35B779" # Green + - "#FDE725" # Yellow + - "#FF9900" # Orange + - "#FF0000" # Red (highest reflectivity) info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -300,13 +300,13 @@ layers: min: "-75 m/s" max: "75 m/s" stops: - - [ "#0000FF", -75 ] # Deep blue (negative extreme) - - [ "#3399FF", -50 ] # Light blue - - [ "#66CCFF", -25 ] # Very light blue - - [ "#FFFFFF", 0 ] # White (zero velocity) - - [ "#FF9999", 25 ] # Light pink - - [ "#FF6666", 50 ] # Light red - - [ "#FF0000", 75 ] # Deep red (positive extreme) + - "#0000FF" + - "#3399FF" + - "#66CCFF" + - "#FFFFFF" + - "#FF9999" + - "#FF6666" + - "#FF0000" info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -340,12 +340,12 @@ layers: min: "0" max: "1" stops: - - [ "#30123B", 0.0 ] # Deep purple (low correlation) - - [ "#443983", 0.2 ] # Dark blue - - [ "#31678E", 0.4 ] # Cyan - - [ "#35B779", 0.6 ] # Green - - [ "#FDE725", 0.8 ] # Yellow - - [ "#FF0000", 1.0 ] # Red (high correlation) + - "#30123B" + - "#443983" + - "#31678E" + - "#35B779" + - "#FDE725" + - "#FF0000" info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -372,12 +372,12 @@ layers: min: "0 m/s" max: "25 m/s" stops: - - [ "#f7f4f9", 0 ] # Light pink (low spectrum width) - - [ "#fddbc7", 5 ] # Very light pink - - [ "#f4a582", 10 ] # Pinkish-orange - - [ "#d6604d", 15 ] # Orange-red - - [ "#b2182b", 20 ] # Deep red - - [ "#67001f", 25 ] # Deepest purple (high spectrum width) + - "#f7f4f9" + - "#fddbc7" + - "#f4a582" + - "#d6604d" + - "#b2182b" + - "#67001f" info: source: Doppler on Wheels (DOW) spatialExtent: Local @@ -404,14 +404,14 @@ layers: min: "-5 dB" max: "7 dB" stops: - - [ "#000080", -5 ] # Dark blue (low ZDR) - - [ "#0000FF", -3 ] # Blue - - [ "#00FFFF", -1 ] # Cyan - - [ "#00FF00", 1 ] # Green - - [ "#FFFF00", 3 ] # Yellow - - [ "#FFA500", 5 ] # Orange - - [ "#FF0000", 6 ] # Red - - [ "#800080", 7 ] # Purple (high ZDR) + - "#000080" + - "#0000FF" + - "#00FFFF" + - "#00FF00" + - "#FFFF00" + - "#FFA500" + - "#FF0000" + - "#800080" info: source: Doppler on Wheels (DOW) spatialExtent: Local From a93c105ebfc0b6c6d149a3197ec0b6b76aa51a17 Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Fri, 28 Feb 2025 12:24:01 -0600 Subject: [PATCH 06/10] Fix legends for blizzard datasets --- datasets/blizzard-count-1950-2021.data.mdx | 16 ++-- datasets/blizzard-era5.data.mdx | 93 ++++++++++++---------- datasets/blizzard-merra2.data.mdx | 93 ++++++++++++---------- 3 files changed, 106 insertions(+), 96 deletions(-) diff --git a/datasets/blizzard-count-1950-2021.data.mdx b/datasets/blizzard-count-1950-2021.data.mdx index d7d8a8136..7acf841e6 100644 --- a/datasets/blizzard-count-1950-2021.data.mdx +++ b/datasets/blizzard-count-1950-2021.data.mdx @@ -35,15 +35,15 @@ layers: - 50 legend: type: gradient + min: 1 + max: 50 stops: - - color: "#30123b" - label: 1 - - color: "#4146d1" - - color: "#23d775" - - color: "#f9f510" - - color: "#fa6b02" - - color: "#900c00" - label: 50 + - "#30123b" + - "#4146d1" + - "#23d775" + - "#f9f510" + - "#fa6b02" + - "#900c00" info: source: NCEI spatialExtent: Northern and Eastern United States diff --git a/datasets/blizzard-era5.data.mdx b/datasets/blizzard-era5.data.mdx index a7cbcfff3..6cf8d33cf 100644 --- a/datasets/blizzard-era5.data.mdx +++ b/datasets/blizzard-era5.data.mdx @@ -35,25 +35,26 @@ layers: - 315 legend: type: gradient + unit: + label: K + min: 240 + max: 315 stops: - - color: "#3CCBCE" - label: 240 k (-30 F) - - color: "#C5F8FF" - - color: "#FEC5FF" - - color: "#E079FB" - - color: "#094FC9" - - color: "#009FFF" - - color: "#44E2FF" - label: 273 K (0 F) - - color: "#147F4F" - - color: "#79B32C" - - color: "#FDFE00" - - color: "#FF8700" - - color: "#FF0F00" - - color: "#9D0F2B" - - color: "#4D0000" - - color: "#BA2E6D" - label: 315 K (110 F) + - "#3CCBCE" + - "#C5F8FF" + - "#FEC5FF" + - "#E079FB" + - "#094FC9" + - "#009FFF" + - "#44E2FF" + - "#147F4F" + - "#79B32C" + - "#FDFE00" + - "#FF8700" + - "#FF0F00" + - "#9D0F2B" + - "#4D0000" + - "#BA2E6D" info: source: ECMWF @@ -78,15 +79,17 @@ layers: - 25 legend: type: gradient + unit: + label: m/s + min: 0 + max: 25 stops: - - color: "#ffffcc" - label: 0 m/s - - color: "#fee187" - - color: "#feab49" - - color: "#fc5b2e" - - color: "#d41020" - - color: "#800026" - label: 25 m/s + - "#ffffcc" + - "#fee187" + - "#feab49" + - "#fc5b2e" + - "#d41020" + - "#800026" info: source: ECMWF spatialExtent: Global @@ -110,15 +113,15 @@ layers: - 1 legend: type: gradient + min: 0 + max: 1 stops: - - color: "#000000" - label: 0 - - color: "#404040" - - color: "#7a7a7a" - - color: "#b5b5b5" - - color: "#e2e2e2" - - color: "#ffffff" - label: 1 + - "#000000" + - "#404040" + - "#7a7a7a" + - "#b5b5b5" + - "#e2e2e2" + - "#ffffff" info: source: ECMWF spatialExtent: Global @@ -141,18 +144,20 @@ layers: - 972 - 1040 legend: + unit: + label: hPa type: gradient + min: 972 + max: 1040 stops: - - color: "#000000" - label: 972 - - color: "#870098" - - color: "#0078dd" - - color: "#00aa88" - - color: "#00dc00" - - color: "#efed00" - - color: "#fe0000" - - color: "#cccccc" - label: 1040 + - "#000000" + - "#870098" + - "#0078dd" + - "#00aa88" + - "#00dc00" + - "#efed00" + - "#fe0000" + - "#cccccc" info: source: ECMWF spatialExtent: Global diff --git a/datasets/blizzard-merra2.data.mdx b/datasets/blizzard-merra2.data.mdx index d9c3138bd..ab7f81304 100644 --- a/datasets/blizzard-merra2.data.mdx +++ b/datasets/blizzard-merra2.data.mdx @@ -35,25 +35,26 @@ layers: - 315 legend: type: gradient + unit: + label: K + min: 240 + max: 315 stops: - - color: "#3CCBCE" - label: 240 k (-30 F) - - color: "#C5F8FF" - - color: "#FEC5FF" - - color: "#E079FB" - - color: "#094FC9" - - color: "#009FFF" - - color: "#44E2FF" - label: 273 K (0 F) - - color: "#147F4F" - - color: "#79B32C" - - color: "#FDFE00" - - color: "#FF8700" - - color: "#FF0F00" - - color: "#9D0F2B" - - color: "#4D0000" - - color: "#BA2E6D" - label: 315 K (110 F) + - "#3CCBCE" + - "#C5F8FF" + - "#FEC5FF" + - "#E079FB" + - "#094FC9" + - "#009FFF" + - "#44E2FF" + - "#147F4F" + - "#79B32C" + - "#FDFE00" + - "#FF8700" + - "#FF0F00" + - "#9D0F2B" + - "#4D0000" + - "#BA2E6D" info: source: NASA GMAO spatialExtent: Global @@ -77,15 +78,17 @@ layers: - 25 legend: type: gradient + unit: + label: m/s + min: 0 + max: 25 stops: - - color: "#ffffcc" - label: 0 m/s - - color: "#fee187" - - color: "#feab49" - - color: "#fc5b2e" - - color: "#d41020" - - color: "#800026" - label: 25 m/s + - "#ffffcc" + - "#fee187" + - "#feab49" + - "#fc5b2e" + - "#d41020" + - "#800026" info: source: NASA GMAO spatialExtent: Global @@ -109,15 +112,15 @@ layers: - 1 legend: type: gradient + min: 0 + max: 1 stops: - - color: "#000000" - label: 0 - - color: "#404040" - - color: "#7a7a7a" - - color: "#b5b5b5" - - color: "#e2e2e2" - - color: "#ffffff" - label: 1 + - "#000000" + - "#404040" + - "#7a7a7a" + - "#b5b5b5" + - "#e2e2e2" + - "#ffffff" info: source: NASA GMAO @@ -141,18 +144,20 @@ layers: - 972 - 1040 legend: + unit: + label: hPa type: gradient + min: 972 + max: 1040 stops: - - color: "#000000" - label: 972 - - color: "#870098" - - color: "#0078dd" - - color: "#00aa88" - - color: "#00dc00" - - color: "#efed00" - - color: "#fe0000" - - color: "#cccccc" - label: 1040 + - "#000000" + - "#870098" + - "#0078dd" + - "#00aa88" + - "#00dc00" + - "#efed00" + - "#fe0000" + - "#cccccc" info: source: NASA GMAO From 49dbf14bb314c2e2e945c3d0634c7306f25f60df Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Fri, 28 Feb 2025 13:39:24 -0600 Subject: [PATCH 07/10] Fix legend indent --- datasets/blizzard-era5.data.mdx | 125 ++++++++++++++---------------- datasets/blizzard-merra2.data.mdx | 93 +++++++++++----------- 2 files changed, 105 insertions(+), 113 deletions(-) diff --git a/datasets/blizzard-era5.data.mdx b/datasets/blizzard-era5.data.mdx index 6cf8d33cf..38f5dc5d2 100644 --- a/datasets/blizzard-era5.data.mdx +++ b/datasets/blizzard-era5.data.mdx @@ -25,8 +25,8 @@ layers: description: "ERA5 2-meter temperature reanalysis data for two select blizzards." initialDatetime: newest zoomExtent: - - 0 - - 20 + - 0 + - 20 sourceParams: colormap_name: surface_temperature nodata: -999 @@ -40,28 +40,26 @@ layers: min: 240 max: 315 stops: - - "#3CCBCE" - - "#C5F8FF" - - "#FEC5FF" - - "#E079FB" - - "#094FC9" - - "#009FFF" - - "#44E2FF" - - "#147F4F" - - "#79B32C" - - "#FDFE00" - - "#FF8700" - - "#FF0F00" - - "#9D0F2B" - - "#4D0000" - - "#BA2E6D" - + - "#3CCBCE" + - "#C5F8FF" + - "#FEC5FF" + - "#E079FB" + - "#094FC9" + - "#009FFF" + - "#44E2FF" + - "#147F4F" + - "#79B32C" + - "#FDFE00" + - "#FF8700" + - "#FF0F00" + - "#9D0F2B" + - "#4D0000" + - "#BA2E6D" info: source: ECMWF spatialExtent: Global temporalResolution: 1950-1978; Inconsistent unit: Kelvin - - id: blizzard-era5-10m-wind stacCol: blizzard-era5-10m-wind name: ERA5 10 Meter Wind @@ -69,33 +67,32 @@ layers: description: "ERA5 10-meter wind reanalysis data for two select blizzards." initialDatetime: newest zoomExtent: - - 0 - - 20 + - 0 + - 20 sourceParams: colormap_name: ylorrd nodata: -999 rescale: - 0 - 25 - legend: - type: gradient - unit: - label: m/s - min: 0 - max: 25 - stops: - - "#ffffcc" - - "#fee187" - - "#feab49" - - "#fc5b2e" - - "#d41020" - - "#800026" + legend: + type: gradient + unit: + label: m/s + min: 0 + max: 25 + stops: + - "#ffffcc" + - "#fee187" + - "#feab49" + - "#fc5b2e" + - "#d41020" + - "#800026" info: source: ECMWF spatialExtent: Global temporalResolution: 1950-1978; Inconsistent unit: m/s - - id: blizzard-era5-cfrac stacCol: blizzard-era5-cfrac name: ERA5 Cloud Fraction @@ -103,31 +100,30 @@ layers: description: "ERA5 cloud fraction reanalysis data for two select blizzards." initialDatetime: newest zoomExtent: - - 0 - - 20 + - 0 + - 20 sourceParams: colormap_name: greys_r nodata: -999 rescale: - 0 - 1 - legend: - type: gradient - min: 0 - max: 1 - stops: - - "#000000" - - "#404040" - - "#7a7a7a" - - "#b5b5b5" - - "#e2e2e2" - - "#ffffff" + legend: + type: gradient + min: 0 + max: 1 + stops: + - "#000000" + - "#404040" + - "#7a7a7a" + - "#b5b5b5" + - "#e2e2e2" + - "#ffffff" info: source: ECMWF spatialExtent: Global temporalResolution: 1950-1978; Inconsistent unit: fraction; 1 = 100% coverage - - id: blizzard-era5-mslp stacCol: blizzard-era5-mslp name: ERA5 Mean Sea Level Pressure @@ -143,27 +139,26 @@ layers: rescale: - 972 - 1040 - legend: - unit: - label: hPa - type: gradient - min: 972 - max: 1040 - stops: - - "#000000" - - "#870098" - - "#0078dd" - - "#00aa88" - - "#00dc00" - - "#efed00" - - "#fe0000" - - "#cccccc" + legend: + unit: + label: hPa + type: gradient + min: 972 + max: 1040 + stops: + - "#000000" + - "#870098" + - "#0078dd" + - "#00aa88" + - "#00dc00" + - "#efed00" + - "#fe0000" + - "#cccccc" info: source: ECMWF spatialExtent: Global temporalResolution: 1950-1978; Inconsistent unit: hPa - --- diff --git a/datasets/blizzard-merra2.data.mdx b/datasets/blizzard-merra2.data.mdx index ab7f81304..66ccadc4b 100644 --- a/datasets/blizzard-merra2.data.mdx +++ b/datasets/blizzard-merra2.data.mdx @@ -2,7 +2,6 @@ id: blizzard-merra2 name: 'MERRA2 Reanalysis (Select Events)' description: "MERRA2 reanalysis data of surface temperature, wind, mean sea level pressure, and cloud fraction for three select blizzard events." - media: src: ::file ./blizzards-cover.png alt: Near-blizzard conditions in Maria Stein, Ohio on December 23, 2022. @@ -25,8 +24,8 @@ layers: description: "MERRA2 2-meter temperature reanalysis data for three select blizzards." initialDatetime: newest zoomExtent: - - 0 - - 20 + - 0 + - 20 sourceParams: colormap_name: surface_temperature nodata: -999 @@ -40,27 +39,26 @@ layers: min: 240 max: 315 stops: - - "#3CCBCE" - - "#C5F8FF" - - "#FEC5FF" - - "#E079FB" - - "#094FC9" - - "#009FFF" - - "#44E2FF" - - "#147F4F" - - "#79B32C" - - "#FDFE00" - - "#FF8700" - - "#FF0F00" - - "#9D0F2B" - - "#4D0000" - - "#BA2E6D" + - "#3CCBCE" + - "#C5F8FF" + - "#FEC5FF" + - "#E079FB" + - "#094FC9" + - "#009FFF" + - "#44E2FF" + - "#147F4F" + - "#79B32C" + - "#FDFE00" + - "#FF8700" + - "#FF0F00" + - "#9D0F2B" + - "#4D0000" + - "#BA2E6D" info: source: NASA GMAO spatialExtent: Global temporalResolution: 1991-2016; Inconsistent unit: Kelvin - - id: blizzard-merra2-10m-wind stacCol: blizzard-merra2-10m-wind name: MERRA2 10 Meter Wind @@ -68,33 +66,32 @@ layers: description: "MERRA2 10-meter wind reanalysis data for three select blizzards." initialDatetime: newest zoomExtent: - - 0 - - 20 + - 0 + - 20 sourceParams: colormap_name: ylorrd nodata: -999 rescale: - 0 - 25 - legend: - type: gradient - unit: - label: m/s - min: 0 - max: 25 - stops: - - "#ffffcc" - - "#fee187" - - "#feab49" - - "#fc5b2e" - - "#d41020" - - "#800026" + legend: + type: gradient + unit: + label: m/s + min: 0 + max: 25 + stops: + - "#ffffcc" + - "#fee187" + - "#feab49" + - "#fc5b2e" + - "#d41020" + - "#800026" info: source: NASA GMAO spatialExtent: Global temporalResolution: 1991-2016; Inconsistent unit: m/s - - id: blizzard-merra2-cfrac stacCol: blizzard-merra2-cfrac name: MERRA2 Cloud Fraction @@ -102,25 +99,25 @@ layers: description: "MERRA2 cloud fraction reanalysis data for three select blizzards." initialDatetime: newest zoomExtent: - - 0 - - 20 + - 0 + - 20 sourceParams: colormap_name: greys_r nodata: -999 rescale: - 0 - 1 - legend: - type: gradient - min: 0 - max: 1 - stops: - - "#000000" - - "#404040" - - "#7a7a7a" - - "#b5b5b5" - - "#e2e2e2" - - "#ffffff" + legend: + type: gradient + min: 0 + max: 1 + stops: + - "#000000" + - "#404040" + - "#7a7a7a" + - "#b5b5b5" + - "#e2e2e2" + - "#ffffff" info: source: NASA GMAO From ea09266c7f41fe7082017feecfe7c1d3230d43c6 Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Fri, 28 Feb 2025 13:48:04 -0600 Subject: [PATCH 08/10] Fix one more legend indentation --- datasets/blizzard-merra2.data.mdx | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/datasets/blizzard-merra2.data.mdx b/datasets/blizzard-merra2.data.mdx index 66ccadc4b..c63a70834 100644 --- a/datasets/blizzard-merra2.data.mdx +++ b/datasets/blizzard-merra2.data.mdx @@ -140,22 +140,21 @@ layers: rescale: - 972 - 1040 - legend: - unit: - label: hPa - type: gradient - min: 972 - max: 1040 - stops: - - "#000000" - - "#870098" - - "#0078dd" - - "#00aa88" - - "#00dc00" - - "#efed00" - - "#fe0000" - - "#cccccc" - + legend: + unit: + label: hPa + type: gradient + min: 972 + max: 1040 + stops: + - "#000000" + - "#870098" + - "#0078dd" + - "#00aa88" + - "#00dc00" + - "#efed00" + - "#fe0000" + - "#cccccc" info: source: NASA GMAO spatialExtent: Global From cb4ec5e44a3b186d50943a3b18e6400b6a0ced0e Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Fri, 28 Feb 2025 14:04:20 -0600 Subject: [PATCH 09/10] Adding a placeholder legend for the goes imagery to fix issues with scrollytelling --- datasets/blizzard-goes-bombogenesis.data.mdx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/datasets/blizzard-goes-bombogenesis.data.mdx b/datasets/blizzard-goes-bombogenesis.data.mdx index a6a465a54..238087f26 100644 --- a/datasets/blizzard-goes-bombogenesis.data.mdx +++ b/datasets/blizzard-goes-bombogenesis.data.mdx @@ -31,7 +31,12 @@ layers: rescale: - 0,15 resampling: bilinear - asset_bidx: cog_default|1,2,3 + asset_bidx: cog_default|1,2,3 + legend: + type: categorical + stops: + - color: "rgba(0, 0, 0, 0)" # using transparent for now to fix the issues with scrollytelling + label: "Imagery" info: source: NOAA spatialExtent: Eastern USA / Northwest Atlantic Ocean From f54c6bb53acbadc571f2d2d4520331cff63bd508 Mon Sep 17 00:00:00 2001 From: Andrew Blackford <62357205+acblackford@users.noreply.github.com> Date: Fri, 28 Feb 2025 14:43:38 -0600 Subject: [PATCH 10/10] add legends to PS tornado datasets --- datasets/tornadoes2024-planet.data.mdx | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/datasets/tornadoes2024-planet.data.mdx b/datasets/tornadoes2024-planet.data.mdx index f905a7106..5c94e49dd 100644 --- a/datasets/tornadoes2024-planet.data.mdx +++ b/datasets/tornadoes2024-planet.data.mdx @@ -39,6 +39,11 @@ layers: - 0,2500 resampling: bilinear asset_bidx: cog_default|3,2,1 + legend: + type: categorical + stops: + - color: "rgba(0, 0, 0, 0)" # using transparent for now to fix the issues with scrollytelling + label: "Imagery" info: source: Planet spatialExtent: Local @@ -65,6 +70,11 @@ layers: ::js ({ dateFns, datetime, compareDatetime }) => { return `${dateFns.format(datetime, 'dd LLL yyyy')}`; } + legend: + type: categorical + stops: + - color: "rgba(0, 0, 0, 0)" # using transparent for now to fix the issues with scrollytelling + label: "Imagery" info: source: Planet spatialExtent: Local @@ -91,6 +101,11 @@ layers: ::js ({ dateFns, datetime, compareDatetime }) => { return `${dateFns.format(datetime, 'dd LLL yyyy')}`; } + legend: + type: categorical + stops: + - color: "rgba(0, 0, 0, 0)" # using transparent for now to fix the issues with scrollytelling + label: "Imagery" info: source: Planet spatialExtent: Local @@ -110,6 +125,11 @@ layers: - 0,255 resampling: bilinear asset_bidx: cog_default|1,2,3 + legend: + type: categorical + stops: + - color: "rgba(0, 0, 0, 0)" # using transparent for now to fix the issues with scrollytelling + label: "Imagery" info: source: Planet spatialExtent: Local @@ -129,6 +149,11 @@ layers: - 0,255 resampling: bilinear asset_bidx: cog_default|1,2,3 + legend: + type: categorical + stops: + - color: "rgba(0, 0, 0, 0)" # using transparent for now to fix the issues with scrollytelling + label: "Imagery" info: source: Planet spatialExtent: Local @@ -155,6 +180,11 @@ layers: ::js ({ dateFns, datetime, compareDatetime }) => { return `${dateFns.format(datetime, 'dd LLL yyyy')}`; } + legend: + type: categorical + stops: + - color: "rgba(0, 0, 0, 0)" # using transparent for now to fix the issues with scrollytelling + label: "Imagery" info: source: Planet spatialExtent: Local