1) Install GMT (5.2.1 or later but NOT version 6 yet) rst with all optional
libraries (GDAL and PCRE, plus FFTW3 and LAPACK for Linux).
Installation of GMT and GMTSAR with package managers and subversion
control
Linux: Depending on your OS version a GMT package may exist (see
below). if not, see Building Instructions
OS X (Macports):
sudo port install gdal +curl +geos +hdf5 +netcdf +ti8
sudo port install gmt5
sudo port install autoconf
OS X (Fink):
sudo nk install libti85
sudo nk install szip
sudo nk install gmt5
2) Install extra libraries. Note that depending on your OS version the actual
version numbers in some of the packages below may di8er):
Ubuntu 14.04 LTS:
sudo apt-get install csh subversion autoconf libti85-dev libhdf5-dev (如果不
行的话,关掉虚拟机,重新尝试)
sudo apt-get install liblapack-dev
sudo apt-get install gfortran
sudo apt-get install g++
Install GMT from source since no GMT version >= 5 in 14.04.
Ubuntu 16.06 LTS:
sudo apt-get install csh subversion autoconf libti85-dev libhdf5-dev
sudo apt-get install liblapack-dev
sudo apt-get install gfortran
sudo apt-get install g++
sudo apt-get install libgmt-dev
sudo apt-get install gmt gmt-dcw gmt-gshhg
sudo apt-get install gmt
3) Download and install orbit les and place in suitable directory (e.g.,
/usr/local/orbits):
http://topex.ucsd.edu/gmtsar/tar/ORBITS.tar
sudo -i
评论0
最新资源