debian man page for gmtconvert

Query: gmtconvert

OS: debian

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GMTCONVERT(l)															     GMTCONVERT(l)

NAME
gmtconvert - Convert between ASCII and binary 1-D tables
SYNOPSIS
gmtconvert [ inputfiles] [ -H[nrec] ] [ -M[flag] ] [ -V ] [ -: ] [ -bi[s]n ] [ -bo[s][n] ]
DESCRIPTION
gmtconvert reads its standard input [or inputfiles] and writes out the information to standard output. Its main purpose is to convert between binary and ASCII data tables. Input (and hence output) may have multiple subheaders if -M is selected. datafile(s) ASCII (or binary, see -bi) file(s) holding a number of data columns.
OPTIONS
-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. -M Multiple segment file(s). Segments are separated by a special record. For ASCII files the first character must be flag [Default is '>']. For binary files all fields must be NaN. -V Selects verbose mode, which will send progress reports to stderr [Default runs "silently"]. -: Toggles between (longitude,latitude) and (latitude,longitude) input/output. [Default is (longitude,latitude)]. Applies to geo- graphic coordinates only. -bi Selects binary input. Append s for single precision [Default is double]. Append n for the number of columns in the binary file(s). -bo Selects binary output. Append s for single precision [Default is double].
EXAMPLES
To convert the binary file test.b (single precision) with 4 columns to ASCII, try gmtconvert test.b -bis4 > test.dat To convert the multiple segment ASCII table test.d to a double precision binary file, try gmtconvert test.d -M -bo > test.b
SEE ALSO
gmt(1gmt), minmax(1gmt) 1 Jan 2004 GMTCONVERT(l)
Related Man Pages
blockmean(1) - debian
blockmedian(1) - debian
blockmedian(1gmt) - debian
sample1d(1gmt) - centos
minmax(1) - osx
Similar Topics in the Unix Linux Community
Converting tables of row data into columns of tables
Multiple records need to convert UNIXtime to human readable datatime and all output in one format
Converting a binary file to ascii and vice versa?
Problem with binary file
Removing carriage returns from multiple lines in multiple files of different number of columns