<!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>1.2.1 Input data</TITLE> <META NAME="description" CONTENT="1.2.1 Input data"> <META NAME="keywords" CONTENT="GMT_Tutorial"> <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_Tutorial.css"> <LINK REL="next" HREF="node12.html"> <LINK REL="previous" HREF="node10.html"> <LINK REL="up" HREF="node10.html"> <LINK REL="next" HREF="node12.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html555" HREF="node12.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html549" HREF="node10.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html543" HREF="node10.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html551" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html553" HREF="node63.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html556" HREF="node12.html">1.2.2 Job Control</A> <B> Up:</B> <A NAME="tex2html550" HREF="node10.html">1.2 The GMT environment:</A> <B> Previous:</B> <A NAME="tex2html544" HREF="node10.html">1.2 The GMT environment:</A> <B> <A NAME="tex2html552" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html554" HREF="node63.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION00321000000000000000"> 1.2.1 Input data</A> </H2> A <A NAME="tex2html90" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> program may or may not take input files. Three different types of input are recognized (more details can be found in Appendix B in the Technical Reference): <A NAME="402"></A> <A NAME="403"></A> <P> <OL> <LI>Data tables. These are ``spreadsheet'' tables with a fixed number of columns and unlimited number of rows. We distinguish between two groups: <P> <UL> <LI>ASCII (Preferred unless files are huge) <P> <DL> <DT><STRONG>-</STRONG></DT> <DD>Single segment [Default] <P> </DD> <DT><STRONG>-</STRONG></DT> <DD>Multi-segment with internal header records (<B>-M</B>) </DD> </DL> <P> </LI> <LI>Binary (to speed up input/output) <P> <DL> <DT><STRONG>-</STRONG></DT> <DD>Single segment [Default] <P> </DD> <DT><STRONG>-</STRONG></DT> <DD>Multi-segment (segment headers are all NaN fields) (<B>-M</B>) </DD> </DL> <P> </LI> </UL> <P> </LI> <LI>Gridded dated sets. These are data matrices (evenly spaced in two coordinates) that come in two flavors: <P> <UL> <LI>Grid-line registration <P> </LI> <LI>Pixel registration <P> </LI> </UL> <P> You may choose among several file formats (even define your own format), but the <A NAME="tex2html91" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> default is the architecture-indenpendent netCDF format. <P> </LI> <LI>Color palette table (For imaging, color plots, and contour maps). We will discuss these later. <P> </LI> </OL> <P> <HR> <!--Navigation Panel--> <A NAME="tex2html555" HREF="node12.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html549" HREF="node10.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html543" HREF="node10.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html551" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html553" HREF="node63.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html556" HREF="node12.html">1.2.2 Job Control</A> <B> Up:</B> <A NAME="tex2html550" HREF="node10.html">1.2 The GMT environment:</A> <B> Previous:</B> <A NAME="tex2html544" HREF="node10.html">1.2 The GMT environment:</A> <B> <A NAME="tex2html552" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html554" HREF="node63.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2011-02-27 </ADDRESS> </BODY> </HTML>