Giter Club home page Giter Club logo

pyint's Introduction

PyINT

Language License

Single or time-series of interferograms processing based on python and GAMMA for all of the present SAR datasets.

PYthon-based INterferometry Toolbox (PyINT) is an open-source package for single or time-series of interferograms processing from downloading data (or SLC) to generating differential-unwrapped interferograms by using GAMMA software. You can process in a routine way (e.g., SLC2Ifg.py or process_tsifg.py) or process step by step. There are many GAMMA-independent tools of PyINT could be useful for you no matter you use GAMMA or other interferometry softwares (e.g., ISCE, SNAP). Advantages include (but not limited to) download and update precise-orbit data automatically (support S1, ERS, ASAR), download and process 30m-SRTM dem automatically, cat multi-frames automatically, select swaths and bursts flexibly (for S1), extract the related S1 butsts for Coregistration automatically, etc. Welcome to contribute/improve PyINT.

1 Download

Download the development version using git:

cd ~/python
git clone https://github.com/ymcmrs/PyINT

2 Installation

To make pyint importable in python, by adding the path PyINT directory to your $PYTHONPATH

For csh/tcsh user, add to your ~/.cshrc file for example:

############################  Python  ###############################
if ( ! $?PYTHONPATH ) then
    setenv PYTHONPATH ""
endif

##--------- Anaconda ---------------## 
setenv PYTHON3DIR    ~/python/anaconda3
setenv PATH          ${PATH}:${PYTHON3DIR}/bin

##--------- PyINT ------------------## 
setenv PYINT_HOME    ~/python/PyINT       
setenv PYTHONPATH    ${PYTHONPATH}:${PYINT_HOME}
setenv PATH          ${PATH}:${PYINT_HOME}/pyint

3 Running PyINT

1). $SCRATCHDIR and $TEMPLATEDIR should be available in your system environment. $SCRATCHDIR for processing, $TEMPLATEDIR for template files to set the related processing parameters:

  setenv SCRATCHDIR /Users/Yunmeng/Documents/SCRATCH         
  setenv TEMPLATEDIR /Users/Yunmeng/Documents/development/TEMPLATEDIR       

2). Preparing your template file, which should be saved in $TEMPLATEDIR, for setting some basic parameters (see the template file above).The template file should be named with a prefix of your project name:

  e.g.,   MexicoCityT143F529S1D.template     [Region + Track + Frame + Satellite + Orbit]

3). Single interferogram processing:

 SLC2Ifg.py IfgramDir     ## typical name style of the ifgdir:  < IFG_PROJECTNAME_MASTER-SLAVE_PB_TB > 

 e.g. :
     SLC2Ifg.py IFG_MexicoCityT143F529S1D_20180506-20180518_034_048     ## general interferometry processing
     SLC2Ifg.py MAI_MexicoCityT143F529S1D_20180506-20180518_034_048     ## Multi-aperture interferometry
     SLC2Ifg.py RSI_MexicoCityT143F529S1D_20180506-20180518_034_048     ## Range-split interferometry

4). Time-series of interferograms processing.

 process_tsifg.py PROJECTNAME

 e.g. :
   process_tsifg.py MexicoCityT143F529S1D

You also can process step by step:

step1: Download S1 data by setting "DOWNLOAD" to "1"  and input Track/Frame/Time in the template file (only for Sentinel-1).   
step2: Check DEM, if no DEM is available, using Makedem_PyInt.py
step3: Coregistration.   Using coreg_all.py
step4: Selecting interferometry pairs. Using SelectPairs.py
Step5: Generating interferograms. Using SLC2Ifg.py
Step6: Loading data for further time-series analysis. Please check mintPy (https://github.com/ymcmrs/MintPy).

Note: All of the above codes are based on the hypothesis that you have installed GAMMA.

4 Citing this work

Y.M., Cao, "PyINT: Python&GAMMA based interferometry toolbox", Remote Sensing Code Library, doi:10.21982/vd48-7p51, April, 2019. 

pyint's People

Contributors

ymcmrs avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.