next up previous contents index
Next: 4.4.12 Number of Copies: Up: 4.4 Standardized command line Previous: 4.4.10 Binary table i/o:   Contents   Index


4.4.11 Data type selection: The -f option

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 -f option. Following an optional i (for input only) or o (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 fi0y,1x,3-4T. All other columns are assumed to have the default, floating point format and need not be set individually. The shorthand -f[i$\vert$o]g means -f[i$\vert$o]0x,1y (geographic coordinates). For more information, see Section 4.10.


next up previous contents index
Next: 4.4.12 Number of Copies: Up: 4.4 Standardized command line Previous: 4.4.10 Binary table i/o:   Contents   Index
Paul Wessel 2006-01-01