Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fix): legend indentation and typo #738

Merged
merged 11 commits into from
Feb 28, 2025
22 changes: 11 additions & 11 deletions datasets/blizzard-count-1950-2021.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
min: 1
max: 50
stops:
- "#30123b"
- "#4146d1"
- "#23d775"
- "#f9f510"
- "#fa6b02"
- "#900c00"
info:
source: NCEI
spatialExtent: Northern and Eastern United States
Expand Down
134 changes: 67 additions & 67 deletions datasets/blizzard-era5.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,106 +25,105 @@ 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
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
unit:
label: K
min: 240
max: 315
stops:
- "#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
type: raster
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
stops:
- color: "#ffffcc"
label: 0 m/s
- color: "#fee187"
- color: "#feab49"
- color: "#fc5b2e"
- color: "#d41020"
- color: "#800026"
label: 25 m/s
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
type: raster
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
stops:
- color: "#000000"
label: 0
- color: "#404040"
- color: "#7a7a7a"
- color: "#b5b5b5"
- color: "#e2e2e2"
- color: "#ffffff"
label: 1
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
Expand All @@ -140,25 +139,26 @@ layers:
rescale:
- 972
- 1040
legend:
type: gradient
stops:
- color: "#000000"
label: 972
- color: "#870098"
- color: "#0078dd"
- color: "#00aa88"
- color: "#00dc00"
- color: "#efed00"
- color: "#fe0000"
- color: "#cccccc"
label: 1040
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

---
<Block>
<Prose>
Expand Down
7 changes: 6 additions & 1 deletion datasets/blizzard-goes-bombogenesis.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading