High-Res GMT Coastlines in UBUNTU Apparently the GMT full and high resolution coastline packages were too big for debian/ubuntu servers. So you can not get them with a single apt-get command. Here is how I installed them.
If you go to http://packages.ubuntu.com/dapper/gmt-coast-low you will see that they mention the non-existence of gmt-coast-high and gmt-coast-full packages. They also point to a read me file /usr/share/doc/gmt/README.coastlines which does not exist but close enough. You can go into the file named /usr/share/doc/gmt/README.Debian and get the required information. First we need to download the archives for the coastline data. Below are the two wget commands I used. Be careful though, the package name was different (from GMT_high.tar.bz2, suggested in the read me file) in my case. You might need to browse to the ftp site at ftp://ibis.grdl.noaa.gov/pub/gmt/ to verify the package names. To get the archives (I wrote these commands in an empty new folder): wget ftp://ibis.grdl.noaa.gov/pub/gmt/GSHHS_high.tar.bz2 wget ftp://ibis.grdl.noaa.gov/pub/gmt/GSHHS_full.tar.bz2 Now we need to know where to put these files. In the readme file /etc/gmt/coastline.conf is mentioned. On my computer that file mentions another one /usr/share/gmt/lib/coastline.conf, says that the one /etc will be used in case the other one is missing. I thought it would be better to put the high-res coastline data near the low-res resolution, so that they are all together. I found the low-res data at /usr/share/gmt/coast. To unzip & move them: tar --bzip2 -xvf GSHHS_full.tar.bz2 The output for the above command was: bosmanoglu@hazel:~/temp/GMT$ tar --bzip2 -xvf GSHHS_full.tar.bz2 COPYING share/coast/binned_GSHHS_f.cdf share/coast/binned_border_f.cdf share/coast/binned_river_f.cdf README.gshhs
Unzip the other archive: tar --bzip2 -xvf GSHHS_high.tar.bz2 Then I moved the coastline data with this command. sudo mv share/coast/binned_*.cdf /usr/share/gmt/coast That's all I can now use the full resolution coast-line data for my paper. You can delete the files that still remain in the temporary new folder we created. Related Links: |