As Interferometric Synthetic Aperture Radar (InSAR) data becomes increasingly popular, the ability to process these large datasets for time-series analysis is important. InSARFlow utilizes mpi4py for parallel processing of SAR interferograms and time-series analysis based on ISCE and GIAnT models.
InSARFlow has the following features:
- Automatic downloading SAR data from Alaska Satellite Facility (ASF).
- Parallel processing of interferograms. Because ISCE processing for each interferogram is independent, running ISCE for many pairs can be implemented very efficiently in parallel. Using Message Passing Interface (MPI), InSARFlow supports large-scale processing on clusters and supercomputers.
The following packages are required for running InSARFlow:
Download and extract the code (name it InSARFlow) to your home folder. Add the following to your .bashrc file:
export PATH=$PATH:/home/USERNAME/InSARFlow/scripts
I setup ISCE and GIAnT in 2 separate environments. For ISCE and GIAnT to recognize InSARFlow, add InSARFlow/scripts folder to the PYTHONPATH of each environment
- ISCE config
export InSARFlow_HOME=/home/USERNAME/InSARFlow
export PYTHONPATH=$ISCE_ROOT:$ISCE_HOME/applications:$ISCE_HOME/component:$InSARFlow_HOME/scripts
- GIAnT config
export InSARFlow_HOME=/home/USERNAME/InSARFlow
export PYTHONPATH=$GIANT:$PYAPS:$VARRES:$InSARFlow_HOME/scripts
- For making Python scripts executable and runnable from anywhere, run the following:
chmod +x /home/USERNAME/InSARFlow/scripts/*.py
Note: User needs to open an account (free) on ASF to download SAR data. Also, follow the instruction here for automatic DEM download from https://urs.earthdata.nasa.gov/
Sentinel-1 and ALOS data can be accessed from ASF.
- Search your region of interest (Note: At this moment, InSARFlow only supports ALOS and Sentinel-1)
- Select an image that covers your area.
- Click on baseline, a PS Baseline Chart will open, showing information of all images for other days.
- Click on Export to CSV to download
- If your area doesn't fit into one image, you have to process for multiple paths/frames.
source ~/.ISCE_CONFIG # Activate ISCE environment
cd /home/USERNAME/InSARFlow/examples/MekongDelta_SEN1A
python insar_SEN1A.py
source ~/.GIAnT
cd /home/USERNAME/InSARFlow/examples/MekongDelta_SEN1A
python insar_SEN1A.py
Note: For large-scale processing, the storage may reach 100s GB or > 1TB, so move the example folder to disks that have enough free space. The example folder is not neccessary to be in the InSARFlow directory
See LICENSE file for more information.
Big thanks to the following people for contributing to this project in myriad ways:
- Luyen Bui
- Hai Pham
- Phong Le: levuvietphong@gmail.com