<!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>4.4.12 Data type selection: The -f option</TITLE> <META NAME="description" CONTENT="4.4.12 Data type selection: The -f option"> <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="node55.html"> <LINK REL="previous" HREF="node53.html"> <LINK REL="up" HREF="node37.html"> <LINK REL="next" HREF="node55.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html3318" HREF="node55.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html3312" HREF="node37.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html3306" HREF="node53.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html3314" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html3316" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html3319" HREF="node55.html">4.4.13 Data gap detection:</A> <B> Up:</B> <A NAME="tex2html3313" HREF="node37.html">4.4 Standardized command line</A> <B> Previous:</B> <A NAME="tex2html3307" HREF="node53.html">4.4.11 Number of Copies:</A> <B> <A NAME="tex2html3315" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html3317" HREF="node256.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION0012412000000000000000"></A> <A NAME="17913"></A> <BR> 4.4.12 Data type selection: The <B>-f</B> option </H2> <A NAME="18697"></A> <A NAME="18698"></A> <A NAME="18699"></A> <A NAME="18700"></A> <P> When map projections are not required we must explicitly state what kind of data each input or output column contains. This is accomplished with the <B>-f</B> option. Following an optional <B>i</B> (for input only) or <B>o</B> (for output only), we append a text string with information about each column (or range of columns) separated by commas. Each string starts with the column number (0 is first column) followed by either x (longitude), y (latitude), T (absolute calendar time) or t (relative time). If several consecutive columns have the same format you may specify a range of columns rather than a single column, i.e., 0-4 for the first 5 columns. For example, if our input file has geographic coordinates (latitude, longitude) with absolute calendar coordinates in the columns 3 and 4, we would specify <B>fi</B>0y,1x,3-4T. All other columns are assumed to have the default, floating point format and need not be set individually. The shorthand <B>-f</B>[<B>i</B><IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$"><B>o</B>]<B>g</B> means <B>-f</B>[<B>i</B><IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$"><B>o</B>]0x,1y (geographic coordinates). For more information, see Sections <A HREF="node63.html#sec:input_data">4.10</A> and <A HREF="node64.html#sec:output_data">4.11</A>. <P> <HR> <!--Navigation Panel--> <A NAME="tex2html3318" HREF="node55.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html3312" HREF="node37.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html3306" HREF="node53.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html3314" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html3316" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html3319" HREF="node55.html">4.4.13 Data gap detection:</A> <B> Up:</B> <A NAME="tex2html3313" HREF="node37.html">4.4 Standardized command line</A> <B> Previous:</B> <A NAME="tex2html3307" HREF="node53.html">4.4.11 Number of Copies:</A> <B> <A NAME="tex2html3315" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html3317" HREF="node256.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2010-07-14 </ADDRESS> </BODY> </HTML>