Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 5764c67416561ab82b35afcf9c650e17 > files > 605

GMT-doc-4.5.2-1.fc13.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>B.1.2 Binary tables</TITLE>
<META NAME="description" CONTENT="B.1.2 Binary tables">
<META NAME="keywords" CONTENT="GMT_Docs">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="GMT_Docs.css">

<LINK REL="next" HREF="node178.html">
<LINK REL="previous" HREF="node174.html">
<LINK REL="up" HREF="node173.html">
<LINK REL="next" HREF="node178.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html5131"
  HREF="node178.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html5125"
  HREF="node173.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html5119"
  HREF="node176.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html5127"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html5129"
  HREF="node255.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html5132"
  HREF="node178.html">B.1.3 NetCDF tables</A>
<B> Up:</B> <A NAME="tex2html5126"
  HREF="node173.html">B.1 Table data</A>
<B> Previous:</B> <A NAME="tex2html5120"
  HREF="node176.html">B.1.1.2 Optional segment header</A>
 &nbsp; <B>  <A NAME="tex2html5128"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html5130"
  HREF="node255.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION001912000000000000000"></A>
<A NAME="28628"></A>
<A NAME="28629"></A>
<BR>
B.1.2 Binary tables
</H2>
<A NAME="28941"></A>
<A NAME="28942"></A>
<A NAME="28943"></A>
<A NAME="28944"></A>

<P>
<A NAME="tex2html1615"
  HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> programs also support native binary tables to speed up input-output
for i/o-intensive tasks like gridding and preprocessing.  Files
may have no header (hence the <B>-H</B> option cannot be used)
and all data must either be single or double precision (no mixing
allowed).  Multiple segment files are allowed (<B>-m</B>) and the
segment headers are assumed to be records where all the fields equal 
NaN.  Flags appended to <B>-m</B> are ignored.  The format and number
of fields are specified with the <B>-b</B> option.
Thus, for input you may set <B>-bi</B>[<B>s</B>][<I>n</I>],
where <B>s</B> designates single precision (default is <B>d</B> for double) and
<I>n</I> is the number of fields.  For output, use <B>-bo</B>[<B>s</B>] 
(the programs know how many columns to write, unless you use <B>-m</B> in which
case we need to know the number of output columns up front).  If you need
to swap the byte-order on either input or output you must use upper case
<B>S</B> or <B>D</B> instead.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html5131"
  HREF="node178.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html5125"
  HREF="node173.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html5119"
  HREF="node176.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html5127"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html5129"
  HREF="node255.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html5132"
  HREF="node178.html">B.1.3 NetCDF tables</A>
<B> Up:</B> <A NAME="tex2html5126"
  HREF="node173.html">B.1 Table data</A>
<B> Previous:</B> <A NAME="tex2html5120"
  HREF="node176.html">B.1.1.2 Optional segment header</A>
 &nbsp; <B>  <A NAME="tex2html5128"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html5130"
  HREF="node255.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2010-01-14
</ADDRESS>
</BODY>
</HTML>