next up previous contents index
Next: B.2 2-D grdfiles Up: B.1 Table data Previous: B.1.1.2 Optional segment header   Contents   Index


B.1.2 Binary tables

GMT programs also support binary tables to speed up input-output for i/o-intensive tasks like gridding and preprocessing. Files may have no header (hence the -H option cannot be used) and all data must either be single or double precision (no mixing allowed). Multiple segment files are allowed (-M) and the segment headers are assumed to be records where all the fields equal NaN. Flags appended to -M are ignored. The format and number of fields are specified with the -b option. Thus, for input you may set -bi[s][n], where s designates single precision (default is double) and n is the number of fields. For output, use -bo[s] (the programs know how many columns to write, unless you use -M in which case we need to know the number of output columns up front).


next up previous contents index
Next: B.2 2-D grdfiles Up: B.1 Table data Previous: B.1.1.2 Optional segment header   Contents   Index
Paul Wessel 2004-10-01