Provided by: gmt-common_5.2.1+dfsg-3build1_all 

NAME
gmt - The Generic Mapping Tools data processing and display software package
INTRODUCTION
GMT is a collection of public-domain Unix tools that allows you to manipulate x,y and x,y,z data sets
(filtering, trend fitting, gridding, projecting, etc.) and produce PostScript illustrations ranging from
simple x-y plots, via contour maps, to artificially illuminated surfaces and 3-D perspective views in
black/white or full color. Linear, log10, and power scaling is supported in addition to over 30 common
map projections. The processing and display routines within GMT are completely general and will handle
any (x,y) or (x,y,z) data as input.
SYNOPSIS
gmt is the main program that can start any of the modules:
gmt module module-options
where module is the name of a GMT module and the options are those that pertain to that particular
module. If no module is given then several other options are available:
--help List and description of GMT modules.
--show-cores
Show number of available cores.
--show-bindir
Show directory of executables and exit.
--show-datadir
Show data directory/ies and exit.
--show-modules
List module names on stdout and exit.
--show-plugindir
Show plugin directory and exit.
--show-sharedir
Show share directory and exit.
--version
Print version and exit.
= Check if that module exist and if so the program will exit with status of 0; otherwise the status
of exit will be non-zero.
COMMAND-LINE COMPLETION
GMT provides basic command-line completion (tab completion) for bash. The completion rules are either
installed in /etc/bash_completion.d/gmt or <prefix>/share/tools/gmt_completion.bash. Depending on the
distribution, you may still need to source the gmt completion file from ~/.bash_completion or ~/.bashrc.
For more information see Section command-line-completion in the CookBook.
GMT OVERVIEW
The following is a summary of all the programs supplied with GMT and a very short description of their
purpose. Detailed information about each program can be found in the separate manual pages.
──────────────────────────────────────────
blockmean
──────────────────────────────────────────
blockmedian
──────────────────────────────────────────
blockmode
──────────────────────────────────────────
filter1d
──────────────────────────────────────────
fitcircle
──────────────────────────────────────────
gmt2kml
──────────────────────────────────────────
gmtconnect
──────────────────────────────────────────
gmtconvert
──────────────────────────────────────────
gmtdefaults
──────────────────────────────────────────
gmtget
──────────────────────────────────────────
gmtinfo
──────────────────────────────────────────
gmtmath
──────────────────────────────────────────
gmtselect
──────────────────────────────────────────
gmtset
──────────────────────────────────────────
gmtspatial
──────────────────────────────────────────
gmtsimplify
──────────────────────────────────────────
gmtvector
──────────────────────────────────────────
gmtwhich
──────────────────────────────────────────
grd2cpt
──────────────────────────────────────────
grd2rgb
──────────────────────────────────────────
grd2xyz
──────────────────────────────────────────
grdblend
──────────────────────────────────────────
grdclip
──────────────────────────────────────────
grdcontour
──────────────────────────────────────────
grdconvert
──────────────────────────────────────────
grdcut
──────────────────────────────────────────
grdedit
──────────────────────────────────────────
grdfft
──────────────────────────────────────────
grdfilter
──────────────────────────────────────────
grdgradient
──────────────────────────────────────────
grdhisteq
──────────────────────────────────────────
grdimage
──────────────────────────────────────────
grdinfo
──────────────────────────────────────────
grdlandmask
──────────────────────────────────────────
grdmask
──────────────────────────────────────────
grdmath
──────────────────────────────────────────
grdpaste
──────────────────────────────────────────
grdproject
──────────────────────────────────────────
grdraster
──────────────────────────────────────────
grdsample
──────────────────────────────────────────
grdtrack
──────────────────────────────────────────
grdtrend
──────────────────────────────────────────
grdvector
──────────────────────────────────────────
grdview
──────────────────────────────────────────
grdvolume
──────────────────────────────────────────
greenspline
──────────────────────────────────────────
kml2gmt
──────────────────────────────────────────
makecpt
──────────────────────────────────────────
mapproject
──────────────────────────────────────────
nearneighbor
──────────────────────────────────────────
project
──────────────────────────────────────────
psbasemap
──────────────────────────────────────────
psclip
──────────────────────────────────────────
pscoast
──────────────────────────────────────────
pscontour
──────────────────────────────────────────
psconvert
──────────────────────────────────────────
pshistogram
──────────────────────────────────────────
psimage
──────────────────────────────────────────
pslegend
──────────────────────────────────────────
psmask
──────────────────────────────────────────
psrose
──────────────────────────────────────────
psscale
──────────────────────────────────────────
pstext
──────────────────────────────────────────
pswiggle
──────────────────────────────────────────
psxy
──────────────────────────────────────────
psxyz
──────────────────────────────────────────
sample1d
──────────────────────────────────────────
spectrum1d
──────────────────────────────────────────
splitxyz
──────────────────────────────────────────
surface
──────────────────────────────────────────
trend1d
──────────────────────────────────────────
trend2d
──────────────────────────────────────────
triangulate
──────────────────────────────────────────
xyz2grd
──────────────────────────────────────────
Supplement gshhg:
──────────────────────────────────────────
gshhg
──────────────────────────────────────────
Supplement img:
──────────────────────────────────────────
img2grd
──────────────────────────────────────────
Supplement meca:
──────────────────────────────────────────
pscoupe
──────────────────────────────────────────
psmeca
──────────────────────────────────────────
pspolar
──────────────────────────────────────────
psvelo
──────────────────────────────────────────
Supplement mgd77:
──────────────────────────────────────────
mgd77convert
──────────────────────────────────────────
mgd77info
──────────────────────────────────────────
mgd77list
──────────────────────────────────────────
mgd77magref
──────────────────────────────────────────
mgd77manage
──────────────────────────────────────────
mgd77path
──────────────────────────────────────────
mgd77sniffer
──────────────────────────────────────────
mgd77track
──────────────────────────────────────────
Supplement potential:
──────────────────────────────────────────
gmtgravmag3d
──────────────────────────────────────────
gmtflexure
──────────────────────────────────────────
gravfft
──────────────────────────────────────────
grdflexure
──────────────────────────────────────────
grdgravmag3d
──────────────────────────────────────────
grdredpol
──────────────────────────────────────────
grdseamount
──────────────────────────────────────────
talwani2d
──────────────────────────────────────────
talwani3d
──────────────────────────────────────────
Supplement segy:
──────────────────────────────────────────
pssegy
──────────────────────────────────────────
pssegyz
──────────────────────────────────────────
segy2grd
──────────────────────────────────────────
Supplement sph:
──────────────────────────────────────────
sphdistance
──────────────────────────────────────────
sphinterpolate
──────────────────────────────────────────
sphtriangulate
──────────────────────────────────────────
Supplement spotter:
──────────────────────────────────────────
backtracker
──────────────────────────────────────────
grdpmodeler
──────────────────────────────────────────
grdrotater
──────────────────────────────────────────
grdspotter
──────────────────────────────────────────
hotspotter
──────────────────────────────────────────
originator
──────────────────────────────────────────
rotconverter
──────────────────────────────────────────
Supplement x2sys:
──────────────────────────────────────────
x2sys_binlist
──────────────────────────────────────────
x2sys_cross
──────────────────────────────────────────
x2sys_datalist
──────────────────────────────────────────
x2sys_get
──────────────────────────────────────────
x2sys_init
──────────────────────────────────────────
x2sys_list
──────────────────────────────────────────
x2sys_merge
──────────────────────────────────────────
x2sys_put
──────────────────────────────────────────
x2sys_report
──────────────────────────────────────────
x2sys_solve
┌────────────────┬───────────────────────┐
│ │ │
CUSTOM MODULES │ │ │
--
THE COMMON GMT OPTIONS │ │ │
--
DESCRIPTION │ │ │
--
ASCII FORMAT PRECISION
The ASCII output formats of numerical data are controlled by parameters in your gmt.conf file. Longitude
and latitude are formatted according to FORMAT_GEO_OUT, whereas other values are formatted according to
FORMAT_FLOAT_OUT. Be aware that the format in effect can lead to loss of precision in the output, which
can lead to various problems downstream. If you find the output is not written with enough precision,
consider switching to binary output (-bo if available) or specify more decimals using the
FORMAT_FLOAT_OUT setting.
GRID FILE FORMATS
By default GMT writes out grid as single precision floats in a COARDS-complaint netCDF file format.
However, GMT is able to produce grid files in many other commonly used grid file formats and also
facilitates so called "packing" of grids, writing out floating point data as 1- or 2-byte integers. To
specify the precision, scale and offset, the user should add the suffix =id[/scale/offset[/nan]], where
id is a two-letter identifier of the grid type and precision, and scale and offset are optional scale
factor and offset to be applied to all grid values, and nan is the value used to indicate missing data.
In case the two characters id is not provided, as in =/scale than a id=nf is assumed. When reading
grids, the format is generally automatically recognized. If not, the same suffix can be added to input
grid file names. See grdconvert and Section grid-file-format of the GMT Technical Reference and Cookbook
for more information.
When reading a netCDF file that contains multiple grids, GMT will read, by default, the first
2-dimensional grid that can find in that file. To coax GMT into reading another multi-dimensional
variable in the grid file, append ?varname to the file name, where varname is the name of the variable.
Note that you may need to escape the special meaning of ? in your shell program by putting a backslash in
front of it, or by placing the filename and suffix between quotes or double quotes. The ?varname suffix
can also be used for output grids to specify a variable name different from the default: "z". See
grdconvert and Sections modifiers-for-CF and grid-file-format of the GMT Technical Reference and Cookbook
for more information, particularly on how to read splices of 3-, 4-, or 5-dimensional grids.
SEE ALSO
Look up the individual man pages for more details and full syntax. Run gmt --help to list all GMT
programs and to show all installation directories. For an explanation of the various GMT settings in this
man page (like FORMAT_FLOAT_OUT), see the man page of the GMT configuration file gmt.conf. Information is
also available on the GMT home page http://gmt.soest.hawaii.edu/
COPYRIGHT
2015, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe
5.2.1 January 28, 2016 GMT(1gmt)