# First you must setup GMT in your linux account # Edit your $HOME/.cshrc file and add the following lines: setenv NETCDFHOME /opt/netcdf setenv GMTHOME /opt/GMT set path=(${GMTHOME}/bin $path) if (${?MANPATH}) then setenv MANPATH ${GMTHOME}/man:${MANPATH} else setenv MANPATH ${GMTHOME}/man endif # location of the grdraster.info file needed for grdraster # see this file to know the available raster data in /home/datalib setenv GMT_DATADIR /opt/GMT/share/dbase ############### ******************************* ############### # In order to make the script location.gmt executable, you need # to do the following in the terminal window # # chmod +x location.gmt # # then to run the script just type ./location.gmt #