Ubuntu20.04 install ORBIT GMT GMTSAR

1. Install extra libraries.

sudo apt-get -y install csh subversion autoconf libtiff5-dev libhdf5-dev wget
sudo apt-get -y install liblapack-dev
sudo apt-get -y install gfortran
sudo apt-get -y install g++
sudo apt-get -y install libgmt-dev
sudo apt-get -y install gmt-dcw gmt-gshhg
sudo apt-get -y install gmt

2. Install orbit files.

http://topex.ucsd.edu/gmtsar/tar/ORBITS.tar
sudo -i
cd /usr/local
mkdir orbits
cd orbits
tar -xvf ~/Downloads/ORBITS.tar # (need full path to ORBITS.tar)

3. Download GMTSAR from github.

sudo -i
cd /usr/local
git clone --branch 6.5 https://github.com/gmtsar/gmtsar GMTSAR

#After completing download  make youself the owner of this directory
cd /usr/local
sudo chown -R $USER GMTSAR

4.Make and install GMTSAR.

cd GMTSAR
autoconf
autoupdate
./configure --with-orbits-dir=/usr/local/orbits

make
make install

5.Add the executables to your path for bash.

gedit ~/.bashrc


#At the end of bashrc file, add the following lines.

export GMTSAR=/usr/local/GMTSAR
export PATH=$GMTSAR/bin:"$PATH"

6. Test your installation. Open a new terminal window and run the following commands. Expected outputs are:

esarp

#esarp [GMTSAR] - Produce SAR processed image

#Usage: esarp filein.PRM fileout.SLC [R4]

Reference:

Home · gmtsar/gmtsar Wiki · GitHub

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值