NAME

     arcsdatum  - module to restore an original  datum,  possibly
     corrupted by arcsapply.


SYNOPSIS

     arcsdatum [ -Nntap ] [ -Ootap ] [ -nsnstr ] [  -nenend  ]  [
     -rsnrst  ]  [  -renred  ]  [ -snst ] [ -ened ] [ -sgmnem ] [
     -ssmnem ] [ -swmnem ] [ -Xinxtap ] [ -smsmth ]  [  -QC  ]  [
     -stack ] [ -V ] [ -? ] [ -h ]


DESCRIPTION

     arcsdatum reads in cdp sorted input records, finds the cumu-
     lative  static  applied  to the near offset and removes that
     static from the cdp. The static  solution  may  be  smoothed
     over  a  user  defined number of cdp's.  arcsdatum gets both
     its data and its parameters  from  command  line  arguments.
     These  arguments  specify the input and  output seismic data
     files, the start and end traces, the start and end  records,
     the start and end times, the trace header static mnemonic to
     use for each of the shot, group and total static, the number
     of records to smooth over and verbose printout, if desired.

  Command line arguments
     -N ntap
          Enter the input data set name or file immediately after
          typing -N unless the input is from a pipe in which case
          the -N entry must be omitted. 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 data set name immediately after typing
          -O. The default is stdout.

     -ns nstr
          Enter the start trace number.  The default is the first
          trace of the record.

     -ne netr
          Enter the end trace number. The  default  is  the  last
          trace of the record.

     -rs nrst
          Enter start record number.  Default value is the  first
          record.

     -re nred
          Enter end record number.  Default value is last record.

     -s nst
          Enter start time [ms].   Default  value  is  the  first
          sample.

     -e ned
          Enter end time [ms].  Default value is last sample.

     -sg mnemonic
          Enter trace header mnemonic from which to retrieve  the
          group  [receiver]  static.  If  not entered the default
          mnemonic is  TVPV20.

     -ss mnemonic
          Enter trace header mnemonic into which to retrieve  the
          shot  [source]  static.   If  not  entered  the default
          mnemonic is TVPT20.

     -sw mnemonic
          Enter trace header mnemonic into  which  to  accumulate
          the  static  being applied.  If not entered the default
          mnemonic is TVPT19.

     -Xin xtap
          Enter the input  Xgraph  file generated by  a  previous
          run  of   arcsdatum   using the  -QC  option below.  If
          not present the program will determine the near  offset
          static  only,  no  smoothing  of the near offset static
          profile will be possible.  This is sometimes  appropri-
          ate  for  marine  data but is almost always not desired
          for land shooting.

     -sm smth
          Enter the smoothing parameter to use when smoothing the
          near  offset  static  profile  input  in  the  attached
          Xgraph  file.  The larger the number the  smoother  the
          result.  To preview the result of a given parameter use
          the  USP  program  smooth  to  test  various  smoothing
          parameters.  Once comfortable with the choice it may be
          entered here.  The default is 100.

     -QC  If present on the command line,  arcsdatum  will output
          to  the   -O  dataset the near offset static profile in
          Xgraph  format.  The Y axis  will  be  static  in  mil-
          liseconds,  the X axis will be  DphInd .  This file may
          be viewed using  Xgraph  and smoothed using  smooth  to
          test   smoothing   parameters  prior  to  execution  of
          arcsdatum  on the entire data volume.

     -stack
          If present on the command line,  arcsdatum  will assume
          that  the  input  dataset is a stacked dataset that has
          the near offset  cummulative  shot  plus  group  static
          stored  in  the  TVPT21  trace header slot.  This value
          will be removed from the dataset tracewise.

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

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


BUGS

     Unknown


SEE ALSO

      arcsstack(1) arcscross(1) arcscum(1) arcsapply(1) xgraph(1)
     plotxy(1)


AUTHOR

     Paul G. A. Garossino [Original Concept -> Steve L. Harris]


COPYRIGHT

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
































Man(1) output converted with man2html