File: node111.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 (162 lines) | stat: -rw-r--r-- 6,171 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!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>B.1.1 ASCII tables</TITLE>
<META NAME="description" CONTENT="B.1.1 ASCII tables">
<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="next" HREF="node112.html">
<LINK REL="previous" HREF="node110.html">
<LINK REL="up" HREF="node110.html">
<LINK REL="next" HREF="node112.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html2605"
  HREF="node112.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html2599"
  HREF="node110.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html2593"
  HREF="node110.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html2601"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html2603"
  HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html2606"
  HREF="node112.html">B.1.2 Binary tables</A>
<B> Up:</B> <A NAME="tex2html2600"
  HREF="node110.html">B.1 Table data</A>
<B> Previous:</B> <A NAME="tex2html2594"
  HREF="node110.html">B.1 Table data</A>
 &nbsp <B>  <A NAME="tex2html2602"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html2604"
  HREF="node149.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION001711000000000000000"></A>
<A NAME="13149"></A>
<A NAME="13150"></A>
<BR>
B.1.1 ASCII tables
</H2>

<P>
The first data record may be preceded by 1 or more header records.
When using such files, make sure to use the <B>-H</B> option and set
the parameter N_HEADER_RECS in the <U>.gmtdefaults</U> file
(System default is 1 header record if <B>-H</B> is set; you may also
use <B>-H</B><I>nrecs</I> directly).  Fields
within a record must be separated by spaces, tabs, or commas.
Each field can be an integer or floating-point number or a geographic
coordinate string using the [+<IMG
 WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
 SRC="img21.gif"
 ALT="$\vert$">-]dd[:mm[:ss]][W<IMG
 WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
 SRC="img21.gif"
 ALT="$\vert$">S<IMG
 WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
 SRC="img21.gif"
 ALT="$\vert$">N<IMG
 WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
 SRC="img21.gif"
 ALT="$\vert$">E<IMG
 WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
 SRC="img21.gif"
 ALT="$\vert$">w<IMG
 WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
 SRC="img21.gif"
 ALT="$\vert$">s<IMG
 WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
 SRC="img21.gif"
 ALT="$\vert$">n<IMG
 WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
 SRC="img21.gif"
 ALT="$\vert$">e] format.
Thus, 12:30:44.5W, 17.5S, 1:00:05, and 200:45E are all valid input strings.
When dealing with time- or (<I>x,y</I>)-series it is usually
convenient to have each profile in separate files.
However, this may sometimes prove impractical due to large numbers
of profiles.  An example is files of digitized lineations where
the number of individual features may range into the thousands.
One file per feature would in this case be unreasonable and
furthermore clog up the directory. <A NAME="tex2html572"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> provides a mechanism for
keeping more than one profile in a file.  Such files are called
<I>multiple segment files</I> and are identical to the ones
just outlined except that they have subheaders interspersed with
data records that signal the start of a segment.
The subheaders may be of any format, but all must have the same
character in the first column.  When using such files, you must
specify the <B>-M</B> option.  The unique character is by default
'<IMG
 WIDTH="16" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
 SRC="img36.gif"
 ALT="$&gt;$">', but you can override that by appending your chosen character
to the M option.  E.g., <B>-MH</B> will look for subheaders starting
with H, whereas <B>-M'*'</B> will check for asterisks (The quotes
are necessary since * has special meaning to <I>UNIX</I>).  The subheaders
may contain <B>-W</B> and <B>-G</B> options for specifying pen and
fill attributes for individual segments.  These settings will override
the corresponding command line options.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html2605"
  HREF="node112.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html2599"
  HREF="node110.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html2593"
  HREF="node110.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html2601"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html2603"
  HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html2606"
  HREF="node112.html">B.1.2 Binary tables</A>
<B> Up:</B> <A NAME="tex2html2600"
  HREF="node110.html">B.1 Table data</A>
<B> Previous:</B> <A NAME="tex2html2594"
  HREF="node110.html">B.1 Table data</A>
 &nbsp <B>  <A NAME="tex2html2602"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html2604"
  HREF="node149.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>