Raw File
Tip revision: 07ae00d86f63c5272ee9c91f759a73fa6464cd3c authored by Heresh Fattahi on 07 November 2018, 22:29:23 UTC
Merge pull request #7 from yunjunz/master
Tip revision: 07ae00d
[![Latest version](](
## InSAR time series analysis in Python
PySAR is a open-source package in Python for InSAR (Interferometric Synthetic Aperture Radar) time series analysis. It reads stack of interferograms (coregistered and unwrapped) in ISCE, Gamma or ROI_PAC format, and produces three dimensional (2D in space and 1D in time) ground displacement. It includes a routine time series analysis ( and some independent toolboxs. PySAR is built on the initial work done by [Scott Baker]( [Alfredo Terrero]( linked PySAR product with [InSAR Web Viewer](      

### 1. [Download](    

### 2. [Installation](   
### 3. Running PySAR

PySAR reads a stack of interferograms (unwrapped interefrograms, coherence, wrapped interferograms and connecting components from SNAPHU if available) and the geometry files (DEM, lookup table, etc.). You need to give the path to where the files are and PySAR takes care of the rest!   

Run -h see the processing options.   
Run -H see the default template options with explanation.   
Run -g to generate a default template file and see the detailed settings.   

#### Example: [Kuju Volcano example with ALOS data](   

Download the test data: [Download Link]( and unzip it. Run with setting file as below:   

    cd ~/KujuAlosAT422F650/PYSAR KujuAlosAT422F650.txt

Inside, it reads the unwrapped interferograms, refernces all of them to the same coherent pixel (reference point), calculates the phase closure and estimates the unwrapping errors (if it has been asked for), inverts the network of interferograms into time-series, calculates a parameter called "temporal coherence" which can be used to evaluate the quality of inversion, corrects local oscilator drift (for Envisat only), corrects stratified tropospheric delay (using pyaps or phase-elevation-ratio approach), corrects DEM error, removes phase ramps (if it has been asked for),... and finally estimates the velocity.   

Check **./PIC** folder for auto generated figures. Use to plot 2D image and to plot the time-series for each point. More details about this test data is in [here](    

![velocity on Kuju](
#### Build your own processing recipe   

PySAR is a toolbox with a lot of individual utility scripts, highly modulized in python. Check its documentaion or simple run it with -h to see its usage, you could build your own customized processing recipe!

### 4. Documentation
- Manual: [PDF](, [HTML](, [Workshop](     
- Wiki: Check our [Github Wiki]( to see the example data, paper references, file naming convention and more.
### 5. Google Group

Join our google group [!forum/py-sar](!forum/py-sar) to ask questions, get notice of latest features pushed to you!

### License
[![FOSSA Status](](
back to top