Skip to content

ichit/gmtsar

 
 

Repository files navigation

PyGMTSAR (Python GMTSAR) - Easy and Fast Satellite Interferometry For Everyone

The goal of the project is easy and fast satellite interferometry (InSAR) processing everywhere from local host to cloud environments. GMTSAR binary command line tools are used under the hood. By my opinion, GMTSAR is great project and has only one big problem - it is not user friendly. I've built rich Python API instead of GMTSAR CSH scripts and GMT toolkit calls and by this way we have 3x faster processing and more accurate results. Really, now we are able to use even free of charge services like to Google Colab which are powerful enough for processing about 10 interferograms in 30 minutes. MacOS and Linux Debian are my prefered OSes and I support both of them. Please don't ask me about Windows support while you don't ready to pay for it.

PyGMTSAR automatically downloads Sentinel-1 orbit files and SRTM DEM (and converts it to ellispoidal heights using EGM96 model) and so on. You need just 2+ raw Sentinel scenes for the processing. See below Live Example S1A_Stack_CPGF_T173 on Google Colab comparision to report from Centre of EO Research & Satellite Remote Sensing, Greece for the fully automated processing and other examples for faster processing using pre-downloaded DEM and orbits.

Installation on MacOS

Use the same commands for BigSur on Intel chips and Monterey on Apple Silicon chips:

# create installation directory
sudo mkdir /usr/local/GMTSAR
sudo chown $(whoami) /usr/local/GMTSAR
# prepare system dependencies
brew install libtiff hdf5 gmt ghostscript
# install recent PyGMTSAR
cd /usr/local
git clone --branch master https://github.com/mobigroup/gmtsar GMTSAR
cd /usr/local/GMTSAR
autoconf
./configure --with-orbits-dir=/tmp
make
make install

Note: that's possible to install PyGMTSAR to /opt directory instead. For this case we need to change "GMTSAR" path in the notebooks.

Installation on Debian and Ubuntu Linux

See the notebooks below where the installation commands included.

Live Examples

I'm a freelancer and that's my free time Open Source project. In 2005 my master's thesis was awarded first prize of the All-Russian Physics competition for significant results in Inverse modeling for non-linear optics and holography and so I know a lot about interferometry modeling. Sure, I have varios ideas about new features but my free time is very limited and I can't promise anything. You are able to sponsor my projects on Patreon: Become a Patron! and order research, development and support on Upwork

@ Alexey Pechnikov, 2021

Geological models on YouTube channel

Augmented Reality (AR) Geological Models

GitHub repositories

English posts and articles on LinkedIn

Russian articles on Habr

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 82.7%
  • C 13.9%
  • Shell 2.1%
  • Python 0.5%
  • Roff 0.2%
  • CMake 0.2%
  • Other 0.4%