  1.  NAME

  gcon2con - Create a contour file from a GCON data file

  2.  USAGE

  gcon2con

  3.  DESCRIPTION

  Reads a generalized contour file, usually obtained from xtract(1), and
  create a contour file with four columns. By specifiying a file with a
  list of ship heading, you can rotate the vectors so that the positive
  x-axis is starbord to the ship track, and positive y-axis is along
  track.  For an explanation of generalized contour files, see
  con2con(1).

  4.  PARAMETERS

  The following parameters must be edited:

     gcon_file
        Name of generalized contour file.

     con_file
        Name for output contour file.

     nav_file
        Name of a file with time and heading columns for rotation of
        contour velocities. Set it to the empty string to avoid this.

     t_nav
        Number of the column in navigation file containing time
        information.

     h_nav
        Number of the column in navigation file containing heading
        information.

     t_gcon
        Number of column in gcon_file containing time information. This
        is used to synchronize the generalized contour data with
        navigation information.

     i_gcon
        Vector of indexes to columns in gcon_file to print in the output
        file. To generate a contour output,this will be a list of column
        numbers like [ x y u v ].

     scale
        Multiply velocities by this factor.

  5.  AUTHORS

  Pierre Jaccard, Geophysical Institute, University of Bergen, 1999

