File: node33.html

package info (click to toggle)
gmt-doc 3.4-1.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,756 kB
  • ctags: 1,800
  • sloc: makefile: 30
file content (97 lines) | stat: -rw-r--r-- 3,436 bytes parent folder | download | duplicates (2)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 99.2beta8 (1.46)
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>4.18 Binary table i/o</TITLE>
<META NAME="description" CONTENT="4.18 Binary table i/o">
<META NAME="keywords" CONTENT="GMT_Docs">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

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

<LINK REL="previous" HREF="node32.html">
<LINK REL="up" HREF="node15.html">
<LINK REL="next" HREF="node34.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html1412"
  HREF="node34.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html1406"
  HREF="node15.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html1402"
  HREF="node32.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html1408"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html1410"
  HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1413"
  HREF="node34.html">5. GMT Projections</A>
<B> Up:</B> <A NAME="tex2html1407"
  HREF="node15.html">4. General features</A>
<B> Previous:</B> <A NAME="tex2html1403"
  HREF="node32.html">4.17 Embedded grdfile format</A>
 &nbsp <B>  <A NAME="tex2html1409"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html1411"
  HREF="node149.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION0012180000000000000000"></A>
<A NAME="4537"></A>
<A NAME="4538"></A>
<BR>
4.18 Binary table i/o
</H1>
<A NAME="4590"></A>
<A NAME="4591"></A>
<A NAME="4592"></A>
<A NAME="4593"></A>

<P>
All <A NAME="tex2html285"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> programs that accept table data input may read ASCII
or binary data.  When using binary data the user must be aware
of the fact that <A NAME="tex2html286"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> has no way of determining the actual
number of columns in the file.  You should therefore pass that
information to <A NAME="tex2html287"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> via the binary <B>-bi</B>[<B>s</B>]<I>n</I> option,
where <I>n</I> is the actual number of data columns (<B>s</B>
indicates single rather than double precision).
Note that <I>n</I> may be larger than <I>m</I>, the number of
columns that the <A NAME="tex2html288"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> program requires to do its task.  If
<I>n</I> is not given then it defaults to <I>m</I>.  If
<I>n</I> <IMG
 WIDTH="16" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
 SRC="img42.gif"
 ALT="$&lt;$"> <I>m</I> an error is generated.  For more information,
see Appendix B.

<BR><HR>
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>