My first try with deck.gl-raster compared a few Sentinel-2 dates. A before and after is not where the library shines. A time series is. Landsat has looked at Mount Baker since 1984, so here is one image for every late summer, 42 in all, with the same ice test run live on each.
Press play, or drag along the strip of years. The threshold slider works while it plays.
Figure 1:White: pixels where red / shortwave infrared is above the threshold. Purple lines: the glaciers as Portland State mapped them in 2015. One clear late-summer Landsat image a year; none for 2012, when no working Landsat was flying.
How the images were chosen¶
The pictures are the ones in the summer by summer flipbook on whatcom.land. For each year, from every Landsat scene between 1 August and 20 October, it keeps the clear one with the least bright snow: the end of the melt season, when the glacier edges are least hidden. In seven years no scene was clear, and a partly cloudy one stands in. The 1995 scene sat 3.5 km off and was shifted back; every frame lines up with the others to the pixel.
What I noticed¶

1984–2014 38.5 to 40.1 km²
2021–2026 32.7 to 34.9 km²
For thirty years nearly all of the 2015 glacier area was bright every late summer. Since 2021 every summer has been under 35 km², and none has come back. The threshold barely matters; the shaded band is narrow.
2015 is the first real dip, and the summers after it bounced back only part of the way. 2021, the summer of the heat dome, is the step down, and it held.
Before 2015 the glaciers reached past their 2015 outlines, so this chart cannot show how much they shrank in those years. It only says that the 2015 area was still full of bright ice. Play the film to see the edges move.
A big winter, or early snow, makes a year look icier than it was. 1999 came after the record snowfall winter at the Mt. Baker Ski Area, and 2011’s only clear image is from 18 October; in both the white spills far past the glaciers.
The level is not the point. On Landsat’s 30 m pixels the test finds 36.9 km² on 4 October 2015, 8% less than Portland State’s outlines; on Sentinel-2’s finer pixels the same test agreed to within 1% (see the Mount Baker note). The 30 m test misses the thin edges, so read the change, not the total.
What did not work¶
Streaming the full Landsat scenes from Microsoft’s Planetary Computer cost about 3 MB a summer and, on a slow day, minutes for all 42. Too slow to play. So I cut red and shortwave infrared for a 16 km square around the summit into small files and put them on Cloudflare, about half a megabyte a summer.
The first version stored 16-bit numbers and worked on every computer I tried, but not on my iPhone: “The images did not load.” Storing 8-bit numbers fixed it. I do not know why; the Sentinel-2 page uses 16-bit and works on the same phone. Holding all 42 summers on the graphics card at once may be too much for a phone at 16 bits. To keep 8 bits honest, each number is the square root of the reflectance, which keeps detail in the dark shortwave infrared where ice is decided. The ice area moves by at most 0.5% against the 16-bit files in any year.
Sources¶
Images: USGS Landsat 5, 7, 8 and 9, Collection 2 Level-2 surface reflectance, public domain, via Microsoft Planetary Computer. Landsat 7 after its 2003 scan-line failure is left out.
2015 outlines: Portland State University, via GLIMS (NSIDC) Fountain & Glenn, 2022, CC0.
Scene choice: the whatcom.land flipbook, Glaciers › Mount Baker, summer by summer.
Code:
maps/baker-years.html,maps-src/baker-s2/years.jsandscripts/baker_years_*.pyin colliand/colliand -notes.
- Fountain, A., & Glenn, B. (2022). Data From: Inventory of Glaciers and Perennial Snowfields of the Coterminous USA. Portland State University Library. 10.15760/geology-data.03