- Contributed software
This is software that works with ROI_pac or adds to ROI_pac, written by the ROI_pac community. These programs are not in the released packages. Most or all of this software is open source, but the licensing is up to the individual authors.
Envisat ASAR ScanSAR package
This package is written by Cunren Liang and Justin Jia under the direction of Prof. Qiming Zeng from Institute of Remote Sensing and Geographic Information System, Peking University. It can process Envisat ASAR WS mode data. For more details, please go to: EnvisatScanSar.
Envisat ASAR long strip subsetting
This package contains some programs written by Howard Zebker with some modifications by Eric Fielding to determine the ground location of Envisat data from the satellite positions extracted from the DORIS orbit files. It also contains a slightly modified version of Sean Buckley's asa_im_decode program that can extract only a range of lines from an Envisat Level 0 (raw data) file. A Perl script make_raw_envi_subset.pl uses these programs to extract a subset of the raw data specified by a start and stop latitude. The accuracy is usually within a few hundred lines, and could be improved but it works fine for my purposes. Env-pass-cut.tgz (uploaded 10/10/2007 EJF)
preliminary scripts for Envisat ASAR SLC processing
BrunoCrippa of the University of Milan has contributed some "very very preliminary" scripts for processing Envisat ASAR SLC products. For more information see the package ROI_SLC.tar (uploaded 1/17/2011)
Marie-Pierre Doin has modified the programs to read the "Envisat-type" format ERS data. There is a new program "new_parse_ers.c" and Perl script "make_raw_ers.pl" uploaded on the ERS page. This new code is "beta" so please let us know if you make further improvements.
ALOS PALSAR raw data reading
ALOS_pre_processor and ALOS_merge by Rob Mellors and David Sandwell ALOS_preproc.tar.gz Note that you will need to install these executables to use make_raw_alos.pl in ROI_pac v.3.0. See PALSAR page and Rob's page for more details.
Perl and matlab codes for reading output of ASF ALOS data searches and writing Google Earth output: ro_readers.tar
ALOS quadratic fitoff
Is your interferogram (particularly from ALOS) only coherent for a narrow strip down the center of the image? If so, you might need a substitute for ROI_PAC's "fitoff" routine, which will perform a quadratic fit instead of only a planar fit. Vivian Lin has translated Rowena Lohman's "newfitoff.m" to python, posted here: newfitoff.py (uploaded 2010/08/16). The script requires the "scipy" package for Python. The "matplotlib" package for python is required for plotting. Plotting is currently commented out. Please have the "matplotlib" package installed if uncommenting the plotting routines.
C++ parser for TerraSAR-X focused data(SLC or single-look-complex in ROI_PAC parlance): Most Recent Version
convert_tdx - Script to convert .cos file from the TanDEM-X/TerraSAR-X bistatic CoSSC format (halfprecision) into the classic monostatic format of TerraSAR-X SSC files. (uploaded 23/10/2012 NoelGourmelen) Regular TanDEM-X scenes acquired in monostatic mode (single satellite) can be processed the same as TerraSAR-X scenes.
C++ parser for Radarsat-2 focused data (SLC or single-look-complex in ROI_PAC parlance): Most Recent Version
C++ parser for Sentinel-1A focused data (SLC or single-look-complex in ROI_PAC parlance): Most Recent Version
makedem.pl - Main perl script written by Noel Gourmelen download srtm or ASTER tiles and output a DEM compatible for use with roi_pac based on geographic input. Uses GMT. See README file for environment variables and compilation setting. Updated 27/11/2010.
get_SRTM.pl is a Perl script that works with the ROI_PAC software to create a ROI_PAC usable DEM dirctly downloading from the SRTM website. Usage: get_SRTM.pl filename minlat maxlat minlon maxlon byteswap; where filename is the output filename (must end with ".dem"); minlat, maxlat, minlon, maxlon, are decimal degrees, where West is negative (i.e., lons go from -180 to 180) byteswap is 1 if you want to byteswap the downloaded data (yes, if you're on our linux boxes). The lat/lon bounds can NOT cross the equator or prime meridian. To run this program you need a program called byte-swap.c that you will need to download and compile. Modified by OhigKwoun, SanghoYun, SvenBorgstrom. Most recent version allows for the two naming conventions for name.hgt.zip and namehgt.zip that sometimes occur at high latitudes. Also fixes "bug" that pastes in other tiles in regions of completely open water (where no tiles exist). (uploaded 2/19/2012 Rowena Lohman)
ROI_PAC to GMT / MATLAB / IDL
A Perl script for converting ROI_pac "rmg" files (either .unw or .cor) to GMT grids. This is not very robust, but I find it useful. It works on geocoded and radar-geometry images. This should be installed in a MY_SCR directory (requires MY_SCR environment variable). rmg2grd.pl (uploaded 6/18/2008 EricFielding)
A program roipac2grdfile by Walter Szeliga converts ROI_PAC output files to GMT compatible netCDF grid files
- It differs from the capabilities of xyz2grd and grdraster in that the output grid files contain multiple layers, i.e. converting a .unw file yields one GMT grid file with two layers, a magnitude and a phase layer. These separate layers are accessible from GMT programs by suffixing the grid file name with either ?phase or ?magnitude. For example, if one created a grid file named geo_010101-020101.grd, then the phase grid file would be accessible to grdinfo by typing
Other GMT commands use the same access method. roipac2grdfile-1.1.tar.gz (uploaded 2009/2/18)
Also, a small perl script to plot the GMT grid files created with roipac2grdfile. grd2pdf.pl (uploaded 2009/8/19)
Cornell University has released a set of matlab scripts that read ROI_PAC output files in a range of coordinates. ro_loaders.tar
One more Cornell utility - reads .proc file and generates pretty GMT file based on DEM used to make interferogram. DEM must COMPLETELY contain interferogram, or it dies. Can also perform over a subregion of interferogram. plot_insar_gmt.pl More "flexible" version that allows you to specify path to geocoded file and DEM instead of reading from .proc file: plot_insar_gmt_flex.pl
The SNAPHU program for phase unwrapping written by Curtis Chen SNAPHU page can be effective for some interferograms that don't unwrap well with the standard unwrapping tools in ROI_pac. A Perl script snaphu.pl to setup the SNAPHU input files from the ROI_pac files and run the program is in the 3.0.1 release of ROI_pac.
Atmospheric Correction Model (ACM)
Dr Zhenhong Li from the University of Glasgow released his ACM scripts that have been incorporated into the ROI_PAC package. It has been demonstrated in several previous studies that the ACM can be effective to reduce atmospheric effects on radar measurements using independent water vapour products including GPS, MODIS and MERIS. For more details, please refer to the following web page: http://web2.ges.gla.ac.uk/~zhli/InSAR_Techniques.htm. The ACM scripts will be included in the new version of ROI_PAC.
Automatic Data Downloads (WINSAR/ASF)
University of Miami graduate student Scott Baker has written the getSAR package for automated data download which he is making available to the InSAR community: http://www.rsmas.miami.edu/personal/mbaker/getsar.html (or google getSAR). This package automates downloading data from the WInSAR archive and ASF L1 Data Pool, so you have to have accounts with those providers. Note that ASF changed their servers in 2011 so the old getSAR scripts may no longer work.
Cornell University has released a python script to create dense sub-pixel offset tracking of SAR and optical images available here
Barnhart and Lohman have released an updated fault resampling code, FaultResampler_v1.2.zip that includes a corrected version of faultResampler.m than that what is downloadable from JGR (see Barnhart&Lohman 2010) that includes calcScales.m. The update also includes code for doing inversions in which rake (slip direction) is not fixed. This code is designed to variably discretize a planar fault model based on the model resultion. The discretization can be used for both coseismic, postseismic, and aseismic inversions of static slip problems. Note that this requires the "mesh2d" package available through the Matlab site: http://www.mathworks.com/matlabcentral/fileexchange/25555-mesh2d-automatic-mesh-generation
Variable Resolution Sampler
Seismolab at Caltech has released the variable resolution sampler package that attempts to reduce the redundancy in an unwrapped interferogram by identifying data samples that sufficiently represent the change in curvature of the surface deformation signal. This code implements the variable resolution resampler originally developed by Simons et al (2001) in Numpy/Scipy and includes some new extensions like an approximate covariance model. The package can be obtained from Caltech's Earthdef website.
Python-based Atmospheric Phase Screen (PyAPS)
PyAPS is a python implementation of stratified tropospheric correction methods using inputs from global atmospheric models (GAMs). The package currently works with ERA-Interim Reanalysis, NARR and MERRA data, but can be easily extended to support more weather models. PyAPS can work with both geo-coded and radar-coded products from ROI_PAC. PyAPS can be obtained from Caltech's Earthdef website.
Import to Radar Tools (RAT)
Radar Tools (RAT) offers import of main ROI_pac data files for construction of interferometric, polarimetric and PolInSAR data sets and further visualization, analysis and processing. Currently, the code is only included in the developer version (see svn repository at developer version), but will be available in the next release. (MaximNeumann, 11/15/10)
ROI_PAC and RoiView
Sometimes ROI_PAC write in geo_..unw NaN values and after that you can not see this file with RoiView. A C++ based program can easily change NaN to the value you specified. You can download it at unw_correct.cpp . In the other hand, you can use in formula tool of RoiView the line: "Foreground=where(isnan(i1),0,i1)" instead of "Foreground=i1".