Skip to content
master
Switch branches/tags
Code

INSTRUCTIONS FOR INSTALLING AND RUNNING GMTSAR

INSTALL

  1. Go to the GMTSAR WIKI and follow the instructions. http://gmt.soest.hawaii.edu/projects/gmt5sar/wiki

  2. Download orbit files for just ERS and ENVISAT. The other satellites have orbits distributed with the data. https://topex.ucsd.edu/gmtsar/downloads/

  3. Go to the gmtsar directory and enter:

    autoconf
    
  4. Configure GMTSAR: Run the configure script. To see all options, run

    ./configure --help
    

    Most users will simply run

    ./configure --with-orbits-dir=<orbitsdir> --prefix=<installdir>
    

    For example, you might run

    ./configure --with-orbits-dir=/usr/local/orbits
    
  5. To build all executables, type

    make
    make install
    
  6. test the commands: gmt, esarp, xcorr, conv, gmtsar.csh, etc. If using C-shell you may have to type rehash first. If this does not work then make sure the is in your system $PATH or $path.

RUN

  1. GET DATA. There is an example data set at our website: https://topex.ucsd.edu/gmtsar/downloads/

Uncompress the file and then unpack with tar.

  1. ORGANIZE the DISK. The standard GMTSAR run has the following directories.

raw SLC topo intf

raw - contains the original data.

SLC - contains the single look complex images derived from the raw data.

topo - contains a digital elevation model for the area in geographic and ultimately radar coordinates.

intf - contains subdirectories with the possible interferograms (only 1 for this example).

  1. MAKE DEM

Go to the following web site and construct a file dem.grd that encloses the SAR frame. https://topex.ucsd.edu/gmtsar/demgen

Place the file dem.grd in the /topo directory.

  1. EXAMPLE RUNS

There are complete examples for each data type at the following web site: https://topex.ucsd.edu/gmtsar/downloads/