Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Mount Baker, 42 summers

One Landsat image a late summer since 1984, played in your browser

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

<Figure size 832x416 with 1 Axes>
1984–2014  38.5 to 40.1 km²
2021–2026  32.7 to 34.9 km²

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

References
  1. 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