NAME

     lidi2xy - convert li,di,z triplets to x,y,z triplets


SYNOPSIS

     lidi2xy [ -P1inpick ] [ -P2outpick ] [ -i1xix1 ] [ -i1yiy1 ]
     [  -i2xix2 ] [ -i2yiy2 ] [ -i3xix3 ] [ -i3yiy3 ] [ -i4xix4 ]
     [ -i4yiy4 ] [ -dydy ] [ -dxdx ] [ -iliili ] [ -idiidi ] [ -V
     ] [ -? ] [ -h ]


DESCRIPTION

     lidi2xy reads an ascii file with "li di  z"  triplets,  com-
     putes "x y z" triplets, and writes them into an output ascii
     file.  The ascii file should contain one triplet  per  line.
     Each  member  of  each  triplet  in  the  ascii file must be
     separated by white space.

     lidi2xy gets both its file names  and  its  parameters  from
     command  line  arguments.  These arguments specify the input
     horizon file, the output transformed horizon file, the  grid
     corner  coordinates,  the  li  spacing,  the di spacing, the
     starting li number and the starting di number.

  Command line arguments
     -P1inpick
          Enter the input ascii  horizon  file  name  immediately
          after  typing  -P1.  This input file should include the
          complete path name if the file resides in  a  different
          directory.   Example  -P1/b/vsp/dummy tells the program
          to look for file 'dummy' in directory 'vsp'  stored  on
          the 'b' disk.

     -P2outpick
          Enter the output ascii file name after typing -P2.  The
          output  file  also  requires  the  full  path name (see
          above).  The output file has roughly the same number of
          output  records  as  input.  The lis and dis outside of
          the grid will be discarded.

     -i1xix1
          Enter the x coordinate of grid-corner 1.

     -i1yiy1
          Enter the y coordinate of grid-corner 1.

     -i2xix2
          Enter the x  coordinate  of  grid-corner  2.   The  lis
          increase from corner one to corner two.

     -i2yiy2
          Enter the y  coordinate  of  grid-corner  2.   The  lis
          increase from corner one to corner two.

     -i3xix3
          Enter the x coordinate of grid-corner 3.

     -i3yiy3
          Enter the y coordinate of grid-corner 3.

     -i4xix4
          Enter the x  coordinate  of  grid-corner  4.   The  dis
          increase  from  corner  one to corner four.  This value
          can be defaulted and lidi2xy will compute  the  coordi-
          nates to complete the parallelogram.

     -i4yiy4
          Enter the y  coordinate  of  grid-corner  4.   The  dis
          increase  from  corner  one to corner four.  This value
          can be defaulted and lidi2xy will compute  the  coordi-
          nates to complete the parallelogram.

     -dydy
          Enter the spacing in feet or meters between lines after
          typing -dy.

     -dxdx
          Enter the spacing  in  feet  or  meters  between  depth
          indexes after typing -dx.

     -iliili
          Enter the starting li.  This value will  be  subtracted
          from  the  li  in  the ascii file (assumed to be in the
          first field) to map into the grid.  The  default  is  1
          which  will  work correctly if the first li is 1.  Note
          that an input pick will not be output if it is  not  in
          the  domain  of the grid (input li must be greater than
          or equal to this value and less than or equal  to  this
          value plus the number of lis in the grid minus one).

     -idiidi
          Enter the starting di.  This value will  be  subtracted
          from  the  li  in  the ascii file (assumed to be in the
          second field) to map into the grid.  The default  is  1
          which  will  work correctly if the first di is 1.  Note
          that an input pick will not be output if it is  not  in
          the  domain  of the grid (input di must be greater than
          or equal to this value and less than or equal  to  this
          value plus the number of dis in the grid minus one).

     -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.


SEE ALSO

     aint flatt2d flatd2t xy2lidi usp2xtpick


BUGS

     None known.


AUTHOR

     Gary Murphy


COPYRIGHT

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





































Man(1) output converted with man2html