Skip to content

egagli/sar_snowmelt_timing

Repository files navigation

Tools for exploring snowmelt timing using Sentinel-1 C-band SAR

DOI

This repository contains notebooks and tools to identify snowmelt timing using timeseries analysis of backscatter of Sentinel-1 C-band SAR. The newer tools in this toolbox use the Sentinel 1 Radiometrically Terrain Corrected (RTC) product hosted on Microsoft Planetary Computer.

Click here to get to the quickstart example. For more advanced use cases, please see the examples folder for notebooks that demonstrate example analysis that can be done using this toolbox. Check out the rendered notebooks using nbviewer.

Originally, this toolbox made use of Analysis Ready Sentinel-1 Backscatter Imagery (Sentinel-1 RTC data) hosted on AWS managed by Indigo Ag, Inc.

I'm currently in the process of cleaning up this repo, adding new starter code, and making these tools pip installable.

Geophysical Research Letters paper: Capturing the Onset of Mountain Snowmelt Runoff Using Satellite Synthetic Aperture Radar

Check out the paper that introduces this toolbox here.

tweet1 tweet2

Slight correction: In the plain language summary, the version of record contains the text:

  • "Finally, from 2016 to 2022, we documented a shift toward snowmelt happening earlier in the year, which means earlier spring flow in rivers.".

This should be:

  • "Finally, from 2016 to 2022, we documented a shift toward snowmelt happening later in the year, which means later spring flow in rivers."

to be consistent with our findings and the rest of our text. My apologies for the oversight. -eric

Example: Large scale processing of snowmelt runoff onset

snowmelt_timing_interactive

Gif of interactive snowmelt runoff onset map of the western US hosted here. Code to process individual MGRS tiles in process_mgrs.ipynb. Built the interactive map using this repository, based on Scott Henderson's template.

Quickstart

quickstart

Check out the intro_example.ipynb notebook for a simple use case!

(OLD) Example: visualize_all_volcanoes.ipynb

A study of snowmelt runoff onset on stratovcolcanoes in the Cascade Range: visualize_all_volcanoes.ipynb [nbviewer link].

volc_ts

A) Yearly Snowmelt Runoff Onset Maps for 10 Cascade Stratovolcanoes. B) Median snowmelt runoff onset at each elevation bin per year.

fig4

A) 2015-2022 median snowmelt runoff onset maps. B) Median snowmelt runoff onset at each elevation bin with +/- 1 standard deviation.

(OLD) Example: demonstrate_all_functions.ipynb

I would recommend starting with the demonstrate_all_functions.ipynb [nbviewer link] notebook which quickly goes through usage of all of the toolbox's most powerful functions over an example area (Mt. Rainier) in quick succession with some example analysis. For example, here is a figure generated using the plot_bs_ndsi_swe_precip_with_context() function shown in that notebook.

mtrainier_timeseries

On the left side of the figure is our area of interest with a basemap for context. The closest SNOTEL station is shown. The colormap indicates the day of year estimate for snowmelt runoff onset. The right side of the figure shows the AOI-averaged Sentinel-1 backscatter (seperated by relative orbit), AOI-averaged Sentinel-2 NDSI, SNOTEL SWE, SNOTEL snow depth, and SNOTEL precipitation (pink for snow, blue for rain).

(OLD) Example: westernUS_comparison.ipynb

The westernUS_comparison.ipynb [nbviewer link] notebook is based off of my current research and focuses on comparing snowmelt timing in alpine and glacier environments in the Western US. Here is an example figure generated in this notebook.

combined_snowmelt_Mt  Rainier

A) & B) Sentinel-1 SAR backscatter in dB over Mt. Rainier, WA, before and after the 2020 snowmelt season, respectively. C) Pixel-wise day of year snowmelt runoff date predicted by SAR backscatter time series analysis over Mt. Rainier. D) Backscatter time series binned by elevation for 2017-2021 over Mt Rainier. Seasonal patterns emerge, with the backscatter minima in each elevation band indicating when the snowpack is supersaturated (usually suggesting onset of snowmelt runoff). E) Temporal window selected from D) which isolates the 2020 snowmelt season. Green ticks indicate a Sentinel-1 SAR acquisition. Note the interesting jagged peaks occurring April to July, suggesting instances or combinations of melting, refreezing, and rain on snow events.

(OLD) Example: grandmesa.ipynb

The grandmesa.ipynb [nbviewer link] notebook applies this toolbox over Grand Mesa, CO for SnowEx Hackweek 2022. I was on the snowmelt-timing team, and I handled the Sentinel-1 analysis of snowmelt timing for the 2020 melt season on Grand Mesa. See our final presentation video here. Here are some figures generated from that notebook.

This figure shows the day of year snowmelt runoff onset date predicted by the SAR backscatter time series with the SnowEx Grand Mesa snowpit locations plotted on top.

combined_grandmesa_crop

This figure takes the runoff onset date map and zooms to each of the SnowEx Grand Mesa snowpit locations. The open snowpit sites (left-hand column) are a lot more spatially uniform in DOY estimates as expected. C-band radar will lose coherence in vegetated areas, so the backscatter minima at tree covered pixels will not necessarily be reflecting snowmelt properties. Everything seems to sync up nicely. We see minima in Sentinel-1 backscatter right as SWE seems to hit an inflection point. NDSI stays plateaued up until this point and drops significantly soon after. This is consistent for what we would expect throughout the melt season.

(OLD) Fall 2021 AGU Poster

Finally, here is my Fall 2021 AGU Poster which summarizes my progress as of November 2021. Watch the narration of my poster here. Stay tuned for my next progress update! agu_poster_48x36

Thanks for stopping by! Feel free to email me for questions/collaborations at egagli@uw.edu.

All my best,

eric

About

This repository contains notebooks and tools to identify snowmelt timing using time series analysis of backscatter of Sentinel-1 C-band SAR.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published