NAME
x2sys_datalist - A generic data-extractor ascii or binary
files
SYNOPSIS
x2sys_datalist file(s) [ -Ddeffile ] [ -Fname1,name2,... ] [
-H ] [ -M[flag] ] [ -Rwest/east/south/north ] [ -V ] [ -bo ]
DESCRIPTION
x2sys_datalist reads one or more files and produces an ASCII
[or binary] table. The files can be of any format, which
must be descriped and passed with the -D option. You may
limit the output to a geographic region, and insist that the
output from several files be separated by a multiple segment
header. Only the named data fields will be output [Default
are all columns].
files
Can be one or more binary or ASCII data files. To give
a list of names, use `cat list_of_files`.
OPTIONS
No space between the option flag and the associated argu-
ments
-D Definition file for this data set. [x2sys.def]
-F Give a comma-separated list of column names as defined
in the definition file. [Default is all data columns].
-H Input file(s) has Header record(s). Number of header
records can be changed by editing your .gmtdefaults
file. If used, GMT default is 1 header record.
-V Selects verbose mode, which will send progress reports
to stderr [Default runs "silently"].
-bo Selects binary output. Append s for single precision
[Default is double].
EXAMPLES
To extract all data from the old-style GMT MGG file
c2104.gmt, try:
x2sys_datalist c2104.gmt -Dgmt > myfile
To make x,y,topo input for blockmean and surface using all
the files listed in the file tracks.lis, but only the data
that are inside the specified area, and make output binary,
try:
x2sys_datalist `cat tracks.lis` -Fx,y,topo -R-40/-30/25/35
-bo > alltopo.xyz
SEE ALSO
blockmean(l), gmt(l), surface(l), x2sys_cross(l)