/usr/share/doc/gmt/html/man/gmtlist.html is in gmt-doc 4.5.12-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 | <!-- Creator : groff version 1.22.2 -->
<!-- CreationDate: Thu Feb 27 18:15:01 2014 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
p { margin-top: 0; margin-bottom: 0; vertical-align: top }
pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
table { margin-top: 0; margin-bottom: 0; vertical-align: top }
h1 { text-align: center }
</style>
<title>GMTLIST</title>
</head>
<body bgcolor="#ffffff">
<h1 align="center">GMTLIST</h1>
<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#OPTIONS">OPTIONS</a><br>
<a href="#EXAMPLES">EXAMPLES</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<a href="#REFERENCES">REFERENCES</a><br>
<hr>
<h2>NAME
<a name="NAME"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">gmtlist −
A data-extractor for <legid>.gmt files</p>
<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><b>gmtlist</b>
<i>leg-ids</i> [ <b>−C</b><i>correctionfile</i> ] [
<b>−Da</b><i>startdate</i> ] [
<b>−Db</b><i>stopdate</i> ] [
<b>−F</b><i>flags</i> ] [ <b>−G</b> ] [
<b>−H</b>[<b>i</b>][<i>nrec</i>] ] [
<b>−R</b><i>west</i>/<i>east</i>/<i>south</i>/<i>north</i>[<b>r</b>]
] [ <b>−Sa</b><i>startdist</i> ] [
<b>−Sb</b><i>stopdist</i> ] [ <b>−V</b> ] [
<b>−W</b><i>weight</i> ] [
<b>−bo</b>[<b>s</b>|<b>S</b>|<b>d</b>|<b>D</b>[<i>ncol</i>]|<b>c</b>[<i>var1</i><b>/</b><i>...</i>]]
]</p>
<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><b>gmtlist</b>
reads <legid>.gmt files and produces an ASCII [or
binary] table. The <legid>.gmt files contain
time(<b>s</b>), latitude(<b>y</b>), longitude(<b>x</b>),
gravity(<b>g/G</b>), magnetics(<b>m/M</b>), and
bathymetry(<b>t/T</b>), and the user may extract any
combination of these 6 parameters + distance(<b>d</b>),
heading (<b>h</b>), velocity (<b>v</b>), and weight
(<b>w</b>, see <b>−W</b>). A sub-section can be
specified by passing time- or distance-intervals along track
or by selecting a region. <i><br>
leg-ids</i></p>
<p style="margin-left:22%;">Can be one or more cruisenames.
To give a list of names, use ‘cat
list_of_legs‘.</p>
<h2>OPTIONS
<a name="OPTIONS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">No space
between the option flag and the associated arguments</p>
<table width="100%" border="0" rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−C</b></p></td>
<td width="7%"></td>
<td width="78%">
<p>Apply crossover Corrections to the data. If no
correction file is given, gmtlist reads the default
correction file. (See <b>XSYSTEM</b> for how to set up your
own correction file).</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−Da</b></p></td>
<td width="7%"></td>
<td width="78%">
<p>Do not list data collected before <i>startdate</i>
(mm/dd/yyyy/hh:mm) [Default is first day].</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−Db</b></p></td>
<td width="7%"></td>
<td width="78%">
<p>Do not list data collected after <i>stopdate</i>
(mm/dd/yyyy/hh:mm). [Default is last day].</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−F</b></p></td>
<td width="7%"></td>
<td width="78%">
<p>Can be any combination of <b>syxgmtdhv</b> to indicate
the desired output data. The data will appear in the order
indicated by flags. If <b>G</b>, <b>M</b>, or <b>T</b> is
substituted for <b>g</b>, <b>m</b>, <b>t</b>, only records
that have that combination of data are written out. If
<b>s</b> is followed by <b>c</b> (calendar), then
yyyy/mm/dd/hh/mm/ss is written out, if <b>s</b> is followed
by <b>j</b> (julian), then yyyy/jd/hh/mm/ss is written out.
Default is seconds from start of year.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−G</b></p></td>
<td width="7%"></td>
<td width="78%">
<p>Force Geographical longitudes (-180/+180) rather than
geodetic (0-360) [Default].</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−H</b></p></td>
<td width="7%"></td>
<td width="78%">
<p>Issue a header record with names for each data
field.</p> </td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−R</b></p></td>
<td width="7%"></td>
<td width="78%">
<p><i>west, east, south,</i> and <i>north</i> specify the
Region of interest, and you may specify them in decimal
degrees or in [+-]dd:mm[:ss.xxx][W|E|S|N] format. Append
<b>r</b> if lower left and upper right map coordinates are
given instead of w/e/s/n. The two shorthands
<b>−Rg</b> and <b>−Rd</b> stand for global
domain (0/360 and -180/+180 in longitude respectively, with
-90/+90 in latitude). Alternatively, specify the name of an
existing grid file and the <b>−R</b> settings (and
grid spacing, if applicable) are copied from the grid.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−Sa</b></p></td>
<td width="7%"></td>
<td width="78%">
<p>Do not list data that are less than <i>startdist</i> km
along track from port of departure. [Default is 0].</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−Sb</b></p></td>
<td width="7%"></td>
<td width="78%">
<p>Do not list data that are more than <i>stopdist</i> km
along track from port of departure. [Default is length of
track].</p> </td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−V</b></p></td>
<td width="7%"></td>
<td width="78%">
<p>Selects verbose mode, which will send progress reports
to stderr [Default runs "silently"].</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−W</b></p></td>
<td width="7%"></td>
<td width="78%">
<p>Set the weight for these data. Weight output option must
be set in <b>−F</b>. This is useful if the data are to
be processed with the weighted averaging techniques offered
by <b><A HREF="blockmean.html">blockmean</A></b>, <b><A HREF="blockmedian.html">blockmedian</A></b>, and
<b><A HREF="blockmode.html">blockmode</A></b>.</p> </td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="4%">
<p><b>−b</b></p></td>
<td width="7%"></td>
<td width="78%">
<p>Selects binary output mode (in double precision)
[Default is ASCII]. <b>−H</b> is ignored if
<b>−b</b> is selected. Julian and calendar dates are
not supported for binary time output (i.e., you get seconds
from start of year).</p></td></tr>
</table>
<h2>EXAMPLES
<a name="EXAMPLES"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">To get a
(distance, heading, crossover-corrected gravity, bathymetry)
listing from c2104.gmt, starting at June 3 1971 20:45 and
ending at distance = 5000 km, use the following command:</p>
<p style="margin-left:11%; margin-top: 1em"><b>gmtlist</b>
c2104 <b>−Da</b> 6/3/1971/20:45 <b>−Sb</b> 5000
<b>−F</b> dhgt <b>−C</b> > myfile</p>
<p style="margin-left:11%; margin-top: 1em">To make input
for <b><A HREF="blockmean.html">blockmean</A></b> and <b><A HREF="surface.html">surface</A></b> using all the
cruises listed in the file gmt.list, but only the data that
are inside the specified area, and make output binary:</p>
<p style="margin-left:11%; margin-top: 1em"><b>gmtlist</b>
‘cat gmt.list‘ <b>−F</b> xyg
<b>−R</b>-40/-30/25/35 <b>−b</b> >
allgrav.xyg</p>
<h2>SEE ALSO
<a name="SEE ALSO"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><i><A HREF="GMT.html">GMT</A></i>(1),
<i><A HREF="x_system.html">x_system</A></i>(1)</p>
<h2>REFERENCES
<a name="REFERENCES"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">Wessel, P., and
W. H. F. Smith, 2014, The Generic Mapping Tools (GMT)
version 4.5.12 Technical Reference & Cookbook,
SOEST/NOAA. <br>
Wessel, P., and W. H. F. Smith, 1998, New, Improved Version
of Generic Mapping Tools Released, EOS Trans., AGU, 79 (47),
p. 579. <br>
Wessel, P., and W. H. F. Smith, 1995, New Version of the
Generic Mapping Tools Released, EOS Trans., AGU, 76 (33), p.
329. <br>
Wessel, P., and W. H. F. Smith, 1995, New Version of the
Generic Mapping Tools Released,
http://www.agu.org/eos_elec/95154e.html, Copyright 1995 by
the American Geophysical Union. <br>
Wessel, P., and W. H. F. Smith, 1991, Free Software Helps
Map and Display Data, EOS Trans., AGU, 72 (41), p. 441.</p>
<hr>
</body>
</html>
|