NAME

     mapfill - Fill gaps between live samples in a USP format map


SYNTAX

     mapfill [ -N filename -O filename
               -d1 delta_axis_1 -d2 delta_axis_2  -radius  radius
               -emask emask -h ]



DESCRIPTION

     mapfill reads a USP format file with an embedded  mask  and,
     on a record-by-record basis, performs bilinear interpolation
     to replace mask values with  live  data  values.  Where  the
     embedded  mask  extends  to  the  record  boundaries,  it is
     preserved (extrapolation to the  record  boundaries  is  not
     allowed).

     Users can control the distance from input points that inter-
     polated values will be recorded. This prevents interpolation
     across large gaps in the input map.


OPTIONS

     -N filename [default: stdin]
          Enter the name of the input file immediately after typ-
          ing  -N.   This  file  should include the relative path
          name if the file resides in a different directory.

     -O filename [default: stdout]
          Enter the output dataset name or file immediately after
          typing  -O.  This file should include the relative path
          name if the file resides in a different directory.


     -d1 delta_axis_1 [default: delta_axis_1=1e-3*Dz1000]
          Enter the distance between samples in an  input  trace.
          (used with -radius)

     -d2 delta_axis_2 [default: delta_axis_2=1e-3*Dx1000]
          Enter the distance between traces of the  input.  (used
          with -radius)

     -radius radius [default: radius=1e+37]
          Enter the distance into gaps that  interpolated  values
          will be recorded.

     -emask emask [default: emask=-1e+37]
          Enter the value to use for samples where  there  is  no
          input point.

     -h or -?
          Print online help to the terminal.


EXAMPLE

         mapfill -Nmap_in.dat -Omap_out.usp -d1 25 -d2 40  -emask
     -99999



BUGS

     None known


AUTHORS

     M.J. O'Brien - Allied Geophysics Inc.




COPYRIGHTS

     Copyright  2001,  Allied  Geophysics,   Inc.    All   Rights
     Reserved.

     Portions of this application are also protected as follows:

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































Man(1) output converted with man2html