NAME

     xz2xsd  - module to convert well (x,z) deviation data to xsd
     pickfile


SYNOPSIS

     xz2xsd [ -Nntap ] [ -Ootap ] [ -dxdx ] [ -dzdz ] [ -locloc ]
     [ -datumdatum ] [ -elevelev ] [ -kbkb ] [ -colorcolor ] [ -F
     ] [ -R ] [ -V ] [ -? ]


DESCRIPTION

     xz2xsd reads in a flat file of (x,z) deviation data and out-
     puts  an  xsd  pickfile (1 pick per segment).  The z data is
     expected in measured depth below KB.   All  other  elevation
     data  is  expected  in  subsea measurement (positive is up).
     This routine does not accept piped input  or  provide  piped
     output (at the moment).

     It implements the following equation
          PickDepth(i) = Datum - [2 * (Elev) - z(i) - KB]

     xz2xsd gets both its data and its  parameters  from  command
     line  arguments.  These arguments specify the input, output,
     trace spacing, sample interval, surface location, KB  eleva-
     tion,  seismic  datum  elevation,  wellhead  elevation, pick
     color, trace sorting  and verbose printout, if desired.

  Command line arguments
     -N ntap
          Enter the input  (x,z)  deviation  file  name  or  file
          immediately  after  typing  -N (a pipe is not allowed).
          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 '/b/vsp'.

     -O otap
          Enter the output xsd pickfile  name  immediately  after
          typing  -O.  The output data set also requires the full
          path name (see above).

     -dx dx [Default: 20]
          Enter the trace spacing (m or ft)

     -dz dz [Default: 10]
          Enter the depth section sample interval (m or ft)

     -loc loc [Default: 0]
          Enter the trace or record  corresponding  to  the  well
          surface location

     -kb kb [Default: 0]
          Enter the subsea elevation at the kelly bushing  (m  or
          ft)

     -datum datum [Default: 0]
          Enter the subsea elevation of the seismic datum  (m  or
          ft)

     -elev elev [Default: 0]
          Enter the subsea elevation at the wellhead (m or ft)

     -color color [Default: 1] (1 = red)
          Enter the xsd pick color number

     -F   Include on the command line  to  flip  well  track  180
          degrees

     -R   Include on the command line if seismic section is  com-
          posed of one record with many traces

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

     -?   Enter the command line  argument  '-?'  to  get  online
          help.   The program terminates after the help screen is
          printed.


BUGS

     Unknown


SEE ALSO

     xsd(1)


AUTHOR

     P.G.A. Garossino  APR:3932  [requested  by  Norm  Kohlhammer
     Amoco Canada]


COPYRIGHT

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














Man(1) output converted with man2html