Skip to content

PyGMTSAR (Python InSAR): Powerful and Accessible Satellite Interferometry

License

Notifications You must be signed in to change notification settings

AlexeyPechnikov/pygmtsar

View on GitHub Available on pypi Docker DOI Support on Patreon ChatGPT Assistant

PyGMTSAR (Python InSAR): Powerful, Accessible Satellite Interferometry

PyGMTSAR (Python InSAR) is designed for both occasional users and experts working with Sentinel-1 satellite interferometry. It supports a wide range of features, including SBAS, PSI, PSI-SBAS, and more. In addition to the examples below, you’ll find more Jupyter notebook use cases on Patreon and updates on LinkedIn.

About PyGMTSAR

PyGMTSAR offers reproducible, high-performance Sentinel-1 interferometry accessible to everyone—whether you prefer Google Colab, cloud servers, or local processing. It automatically retrieves Sentinel-1 SLC scenes and bursts, DEMs, and orbits; computes interferograms and correlations; performs time-series analysis; and provides 3D visualization. This single library enables users to build a fully integrated InSAR project with minimal hassle. Whether you need a single interferogram or a multi-year analysis involving thousands of datasets, PyGMTSAR can handle the task efficiently, even on standard commodity hardware.

PyGMTSAR Live Examples on Google Colab

Google Colab is a free service that lets you run interactive notebooks directly in your browser—no powerful computer, extensive disk space, or special installations needed. You can even do InSAR processing from a smartphone. These notebooks automate every step: installing PyGMTSAR library and its dependencies on a Colab host (Ubuntu 22, Python 3.10), downloading Sentinel-1 SLCs, orbit files, SRTM DEM data (automatically converted to ellipsoidal heights via EGM96), land mask data, and then performing complete interferometry with final mapping. You can also modify scene or bursts names to analyze your own area of interest, and each notebook includes instant interactive 3D maps.

Open In Colab CENTRAL Türkiye Mw 7.8 & 7.5 Earthquakes Co-Seismic Interferogram (2023). The area is large, covering two consecutive Sentinel-1 scenes or a total of 56 bursts.

Open In Colab Pico do Fogo Volcano Eruption, Fogo Island, Cape Verde (2014). The interferogram for this event is compared to the study The 2014–2015 eruption of Fogo volcano: Geodetic modeling of Sentinel-1 TOPS interferometry (Geophysical Research Letters, DOI: 10.1002/2015GL066003).

Open In Colab La Cumbre Volcano Eruption Interferogram (2020). The results compare with the report from Instituto Geofísico, Escuela Politécnica Nacional (IG-EPN) (InSAR software unspecified).

Open In Colab Iran–Iraq Earthquake Co-Seismic Interferogram (2017). The event has been well investigated, and the results compared to outputs from GMTSAR, SNAP, and GAMMA software.

Open In Colab Imperial Valley SBAS Analysis (2015). This example is provided in the GMTSAR project in the archive file S1A_Stack_CPGF_T173.tar.gz, titled 'Sentinel-1 TOPS Time Series'.

The resulting InSAR velocity map is available as a self-contained web page at: Imperial_Valley_2015.html

Open In Colab Flooding [Correlation] Map: Kalkarindji, NT Australia (2024). Correlation loss serves to identify flooded areas.

Open In Colab PyGMTSAR SBAS & PSI: Golden Valley, CA (2021). This example demonstrates the case study 'Antelope Valley Freeway in Santa Clarita, CA,' as detailed in SAR Technical Series Part 4 Sentinel-1 global velocity layer: Using global InSAR at scale and Sentinel-1 Technical Series Part 5 Targeted Analysis with a significant subsidence rate 'exceeding 5cm/year in places'.

Open In Colab PyGMTSAR SBAS & PSI: Lake Sarez Landslides, Tajikistan (2017). The example reproduces the findings shared in the following paper: Integration of satellite SAR and optical acquisitions for the characterization of the Lake Sarez landslides in Tajikistan.

Open In Colab PyGMTSAR Elevation Map: Erzincan, Türkiye (2019). This example reproduces 29-page ESA document DEM generation with Sentinel-1 IW.

More PyGMTSAR Live Examples on Google Colab

Open In Colab Mexico City Interferogram (2016). This example replicates the 29-page ESA manual TRAINING KIT – HAZA03. LAND SUBSIDENCE WITH SENTINEL-1 using SNAP.

PyGMTSAR Live Examples on Google Colab Pro

I share additional InSAR projects on Google Colab Pro through my Patreon page. These are ideal for InSAR learners, researchers, and industry professionals tackling challenging projects with large areas, big stacks of interferograms, low-coherence regions, or significant atmospheric delays. You can run these privately shared notebooks online with Colab Pro or locally/on remote servers.

Projects and Publications Using PyGMTSAR

See the Projects and Publications page for real-world projects and academic research applying PyGMTSAR. This is not an exhaustive list—contact me if you’d like your project or publication included.

Resources

PyGMTSAR projects and e-books Available on Patreon. Preview versions can be found in this GitHub repo:

Video Lessons and Notebooks Find PyGMTSAR (Python InSAR) video lessons and educational notebooks on Patreon and YouTube.

PyGMTSAR AI Assistant The PyGMTSAR AI Assistant, powered by OpenAI ChatGPT, can explain InSAR theory, guide you through examples, help build an InSAR processing pipeline, and troubleshoot.

PyGMTSAR AI Assistant

PyGMTSAR on DockerHub Run InSAR processing on macOS, Linux, or Windows via Docker images.

PyGMTSAR on PyPI Install the library from PyPI.

PyGMTSAR Previous Versions 2023 releases are still on GitHub, PyPI, DockerHub, and Google Colab. Compare PyGMTSAR InSAR with other software by checking out the PyGMTSAR 2023 Repository.

© Alexey Pechnikov, 2025