File: node9.html

package info (click to toggle)
gmt-doc 3.4-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,756 kB
  • ctags: 1,800
  • sloc: makefile: 30
file content (191 lines) | stat: -rw-r--r-- 6,933 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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!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>1.1 Tutorial setup</TITLE>
<META NAME="description" CONTENT="1.1 Tutorial setup">
<META NAME="keywords" CONTENT="tutorial">
<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="tutorial.css">

<LINK REL="next" HREF="node10.html">
<LINK REL="previous" HREF="node8.html">
<LINK REL="up" HREF="node8.html">
<LINK REL="next" HREF="node10.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html526"
  HREF="node10.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html520"
  HREF="node8.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html514"
  HREF="node8.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html522"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html524"
  HREF="node79.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html527"
  HREF="node10.html">1.2 The GMT environment:</A>
<B> Up:</B> <A NAME="tex2html521"
  HREF="node8.html">1. SESSION ONE</A>
<B> Previous:</B> <A NAME="tex2html515"
  HREF="node8.html">1. SESSION ONE</A>
 &nbsp <B>  <A NAME="tex2html523"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html525"
  HREF="node79.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION00310000000000000000">
1.1 Tutorial setup</A>
</H1>

<OL>
<LI>We assume that <A NAME="tex2html34"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> has been properly and fully
installed and that you have the statement
<TT>setenv GMTHOME <IMG
 WIDTH="16" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
 SRC="img8.gif"
 ALT="$&lt;$">path to <A NAME="tex2html33"

HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> directory<IMG
 WIDTH="16" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
 SRC="img9.gif"
 ALT="$&gt;$"></TT>
in your <U>.login</U> as
described in the <A NAME="tex2html35"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> <U>README</U> file.

<P>
</LI>
<LI>All <A NAME="tex2html36"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> man pages, documentation, and example scripts
are available from the <A NAME="tex2html37"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> documentation web page.  It is
assumed these pages have been installed locally at your site;
if not they are always available from the main
<A NAME="tex2html38"
  HREF="http://www.soest.hawaii.edu/gmt">GMT home page</A>.

<P>
</LI>
<LI>We recommend you create a sub-directory called <U>tutorial</U>,
cd into that directory, and copy all the tutorial files directly
there with ``<TT>cp -r $GMTHOME/tutorial/* .</TT> ''.

<P>
</LI>
<LI>As we discuss <A NAME="tex2html39"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> principles it may be a good idea to
consult the <A NAME="tex2html40"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> Technical Reference and Cookbook for more
detailed explanations.

<P>
</LI>
<LI>The tutorial uses the supplemental <A NAME="tex2html41"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> program
<A NAME="tex2html42"
  HREF="../grdraster.html"><I><B>grdraster</B></I></A><A NAME="1924"></A> to extract subsets of global gridded data
sets.  For your convenience we also supply the subsets in the
event you do not wish to install <A NAME="tex2html43"
  HREF="../grdraster.html"><I><B>grdraster</B></I></A><A NAME="1933"></A> and the
public data sets it can read.  Thus, run the <A NAME="tex2html44"
  HREF="../grdraster.html"><I><B>grdraster</B></I></A><A NAME="1942"></A>
commands if you have made the installation or ignore them if
you have not.

<P>
</LI>
<LI>For all but the simplest <A NAME="tex2html45"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> jobs it is recommended that
you place all the <A NAME="tex2html46"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> (and <I>UNIX</I>) commands in a <I>cshell</I><A NAME="1957"></A> script
file and make it executable.  To ensure that <I>UNIX</I> recognizes
your script as a <I>cshell</I><A NAME="1963"></A> script it is a good habit always to start
the script with the line #!/bin/csh.  All the examples in this
tutorial assumes you are running the <I>cshell</I><A NAME="1968"></A>; if you are using
something different then you are on your own.

<P>
</LI>
<LI>Making a script executable is accomplished using the <TT>chmod</TT>
command, e.g., the script <U>figure_1</U> is made executable
with ``<TT>chmod +x figure_1</TT>''.

<P>
</LI>
<LI>To view a <I>PostScript</I> file (e.g., <U>map.ps</U>) on a UNIX workstation
we use <I>ghostview</I><A NAME="1976"></A> <U>map.ps</U>.  On some systems there
will be similar commands, like <U>imagetool</U> and <U>pageview</U>
on Sun workstations.  In this text we will refer to
<I>ghostview</I><A NAME="1984"></A>; please substitute the relevant <I>PostScript</I> previewer
on your system.

<P>
</LI>
<LI>Please cd into the directory <U>tutorial</U>.  We are
now ready to start.

<P>
</LI>
</OL>

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html526"
  HREF="node10.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html520"
  HREF="node8.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html514"
  HREF="node8.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html522"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html524"
  HREF="node79.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html527"
  HREF="node10.html">1.2 The GMT environment:</A>
<B> Up:</B> <A NAME="tex2html521"
  HREF="node8.html">1. SESSION ONE</A>
<B> Previous:</B> <A NAME="tex2html515"
  HREF="node8.html">1. SESSION ONE</A>
 &nbsp <B>  <A NAME="tex2html523"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html525"
  HREF="node79.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>