NAME

     buildhdr - Insert line index  and  depth  index  into  trace
     headers


SYNOPSIS

     buildhdr -Nntap  -Ootap  -nsns  -nene  -rsrs  -rere  -li1li1
     -dy1dy1  -dy2dy2  -lihwlihw  -liorderliord  -di1di1  -dx1dx1
     -dx2dx2 -dihwdihw -diorderdiord -V -?  -h


DESCRIPTION

     buildhdr reads a usp formatted dataset and inserts the  line
     index  and  depth  index  into  each  trace  header. The two
     indices may also be inserted as floating point numbers  into
     user specified trace header locations.

     buildhdr gets the input and output file names and parameters
     from the command line.

  Command line arguments
     -Nntap
          Enter the name of the input dataset  after  typing  -N.
          This  input  file should include the complete path name
          if the file resides in a different directory.   Example
          -N/b/vsp/dummy  tells  the  program  to  look  for file
          'dummy' in directory

     -Ootap
          Enter the name of the output dataset immediately  after
          typing -O.  The output file also requires the full path
          name (see above).

     -rsrs
          Enter the starting record number after typing -rs.

     -rere
          Enter the ending record number after typing -re.

     -nsns
          Enter the starting trace after typing -ns.

     -nene
          Enter the ending trace after typing -ne.

     -li1li1
          Enter the first line index number after typing -li1.

     -dy1dy1
          This value represents the distance between two consecu-
          tive records.  Enter the value after typing -dy1.

     -dy2dy2
          This  value  represents  the   distance   between   two
          sequential  line  indices. Enter the value after typing
          -dy2. The ratio of dy1/dy2 will be used in the calcula-
          tion of the line index.

     -lihwlihw
          When this option is chosen,  the  line  index  will  be
          stored  as  a  floating point number in two consecutive
          locations in the trace header.  Enter the  keyword  for
          the first of the two locations after typing -lihw. Care
          should be taken when choosing this location as the pre-
          vious contents of the two consecutive locations will be
          overwritten with the line index.

     -liorderliord
          This value represents the order of the line indices.
                 liorder = 1 = ascending
                 liorder < 1 = descending

     -di1di1
          Enter the first depth index number after typing -di2.

     -dx1dx1
          This value represents the distance between two consecu-
          tive traces.  Enter the value after typing -dx1.

     -dx2dx2
          This value represents the distance between two  sequen-
          tial di indices. Enter the value after typing -dx2. The
          ratio of dx1/dx2 will be used in the calculation of the
          depth index.

     -lihwlihw
          When this option is chosen, the  depth  index  will  be
          stored  as  a  floating point number in two consecutive
          locations in the trace header.  Enter the  keyword  for
          the first of the two locations after typing -dihw. Care
          should be taken when choosing this location as the pre-
          vious contents of the two consecutive locations will be
          overwritten with the depth index.

     -diorderdiord
          This value represents the order of the depth indices.
                 diorder = 1 = ascending
                 diorder < 1 = descending

     -V   Enter the command line argument '-V' to get  additional
          printout.

     -?   Enter this (or '-?' if you are running in  c-shell)  to
          get  online  help.   The  program  will terminate after
          printing this.

     -h   Enter this option to get online help.  The program will
          terminate after printing this.


BUGS

     Unknown


AUTHOR

     Mary Ann Thornton


COPYRIGHT

     copyright 2001, Amoco Production Company
               All Rights Reserved
          an affiliate of BP America Inc.








































Man(1) output converted with man2html