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
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)
ERS
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
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.
ASF ALOS
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.
Radarsat
ROI_PAC
DEM Preparation
makedem.pl - Main perl script written by Noel Gourmelen download srtm 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.
Modification to Cornell Univ's version - minor bug fixed, enabled to get tiles beyond 2x2 and to get 30m SRTM over US ( get_SRTM.pl , uploaded 10/15/2010 by OhigKwoun)
Modification to OhigKwoun's version - minor bug fixed, removed redundancy of single row/column overlap at each tile boundary. get_SRTM.pl (uploaded 2011/09/01 SanghoYun)
Modification to SanghoYun's version - removes the intermediate files (the SRTM tiles: *.hgt, *.hgt.zip) and the "history" resource file (*.dem.rsc.hst), leaving just the *.dem and *.dem.rsc files. get_SRTM.pl (uploaded 11/17/2011 SvenBorgstrom)
* Modification to Borgstrom's 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). get_SRTM.pl (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
grdinfo geo_010101-020101.grd?phase
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
A procedure for reading ROI_pac output files in IDL: read_roipac.pro . The data can be visualized e.g. in combination with mtv.pro (see Viewing_results). (MaximNeumann, 11/12/10)
SNAPHU
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.
Other
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.
Offset Tracking
Cornell University has released a python script to create dense sub-pixel offset tracking of SAR and optical images available here
Fault Resampler
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 its Google Code Repository.
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".
