Skip to content

PyGMTSAR (Python InSAR): Powerful and Accessible Satellite Interferometry

License

Notifications You must be signed in to change notification settings

AlexeyPechnikov/pygmtsar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacOS tests Ubuntu tests PyPI tests Available on pypi Docker

PyGMTSAR (Python GMTSAR) - Sentinel-1 Satellite Interferometry For Everyone

Hint: You can sponsor PyGMTSAR software development on Patreon.

This repository based on forked original GMTSAR and extended by my patches to binary tools and Python library PyGMTSAR. I commit my changes to binary tools to GMTSAR upstream and so it's possible to use the original GMTSAR master branch installation plus PyGMTSAR Python package via PIP. The project documentation including installation instructions available by the link: https://mobigroup.github.io/gmtsar/

The goal of the project is easy and fast satellite interferometry (InSAR) processing for Sentinel-1 radar scenes everywhere as on localhost as on cloud environments like to Google Cloud VM and AI Notebooks and Amazon EC2 and on free of charge cloud environment Google Colab and in Docker images. GMTSAR binary command line tools are used under the hood but all GMTSAR scripts and GMT command replaced by Python code using modern and robust algorithms.

PyGMTSAR Docker Images for Everyone on DockerHub

See Docker basic image for merged subswaths and cropped scenes and SBAS time series processing on DockerHub PyGMTSAR for Everyone This image is the right choice to start and perform lots of common interferometry tasks.

PyGMTSAR Docker Images for Experts on DockerHub

See Docker images for multiple stitched scenes and long SBAS time series processing on DockerHub PyGMTSAR for Experts

PyGMTSAR Live Examples on Google Colab

The notebooks are interactive examples available directly in your web browser. All the steps automated including the software installation on Google Colab cloud host and downloading of Sentinel-1 orbit files, SRTM DEM (and its conversion to ellispoidal heights using EGM96 model), a landmask (to mask low-coherence water surfaces), Sentinel-1 SLC scenes from Alaska Satellite Facility (ASF) datastore and, of course, the complete interferometry processing and the results mapping.

Notebooks to Compare Results to GMTSAR, SNAP and GAMMA Software

Open In Colab ASF Downloading 2017 Iran–Iraq Earthquake vs GMTSAR GAMMA SNAP Co-Seismic Interferogram The notebook downloads Sentinel-1 Scenes from Alaska Satellite Facility (ASF) and compares the results to GMTSAR, SNAP and GAMMA Software. Note: replace the scene names to produce an interferogram and LOS displacement for your area of interest.

Open In Colab Live Example S1A_2016_Kumamoto Earthquake_Co-Seismic Interferogram vs ESA Sentinel 1 Toolbox on Alaska Satellite Facility. This is a single subswath processing with landmask applied to interferogram, unwapped phase, and LOS, east-west, vertical displacement results.

Open In Colab Live Example S1AB 2021 Crete Earthquake Co-Seismic Interferogram vs Centre of EO Research & Satellite Remote Sensing, Greece Report This is a single cropped subswath processing with landmask applied to interferogram, unwapped phase, and LOS, east-west, vertical displacement results.

Open In Colab GMTSAR example dataset S1A_Stack_CPGF_T173 This example illustrates SBAS and PSI analyses and detrending approach to remove atmospheric noise to produce much better results.

More Complex Notebooks Still Available on Google Colab

The notebooks processing more than a single subswath or scene. It's possible on Google Colab limited resources using prepared datasets produced by PyGMTSAR "backup" command described in the notebooks.

Open In Colab ASF Downloading 2020 Ardabil, Iran Earthquake Co-Seismic Interferogram and LOS Displacement The notebook downloads Sentinel-1 Scenes from Alaska Satellite Facility (ASF) to crop the area and merge subswaths and detrend results. Note: replace the scene names to produce an interferogram for your area of interest.

Open In Colab ASF Downloading 2023-02-06 Türkiye Earthquakes Co-Seismic Interferogram and LOS Displacement Projections The notebook downloads Sentinel-1 Scenes from Alaska Satellite Facility (ASF) to stitch 2 scenes and merge subswaths and detrend results. Note: replace the scene names to produce an interferogram for your area of interest.

Open In Colab ASF Downloading 2023-02-06 Türkiye Earthquakes Co-Seismic Interferogram and LOS Displacement Projections The notebook downloads Sentinel-1 Scenes from Alaska Satellite Facility (ASF) to stitch 3 scenes and merge subswaths and detrend results. Here are some tricks used to process the large amount of data on Google Colab. Note: replace the scene names to produce an interferogram for your area of interest.

Long Timeseries Analysis is not available on Google Colab

See a separate GitHub repository for Yamchi Dam area dynamic model YamchiDam Software tools PyGMTSAR N-Cube ParaView plugin for 3D/4D GIS Data Visualization combined together for the 4D analysis and visualization:

Learn more

About me

I have STEM master’s degree in radio physics and in 2004 I have got the first prize of the All-Russian Physics competition for significant results in forward and inverse modeling for non-linear optics and holography, also applicable for modeling of Gravity, Magnetic, and Thermal fields and satellite interferometry processing. And I’m data scientist and software developer with 20 year’s experience in science and industrial development. I had been working on government contracts and universities projects and on projects for LG Corp, Google Inc, etc. By the way, I left Russia many years ago and I work remotely for about 20 years.

Geological models on YouTube channel

Augmented Reality (AR) Geological Models

GitHub repositories

DockerHub repositories

English posts and publications on LinkedIn

English publications on Medium

Russian publications on Habr

@ Alexey Pechnikov, 2023