NAME

     storeit - stores shot and receiver statics in trace headers;
     using  the  -amp option, stores amplitude correction scalars
     into a specified trace header word.


SYNOPSIS

     storeit [ -Nntap ] [ -Ootap ] [ -STsfile ]  [  -sissis  ]  [
     -Ccards  ] [ -amp ] [ -uunit ] [ -discodisco ] [ -S ] [ -R ]
     [ -stsrcsft ] [ -rtrecsft ] [ -ISsrcwrd ] [ -IRrecwrd ] [ -V
     ] [ -? ]


DESCRIPTION

     storeit writes a list of statics values  to  trace  headers.
     In  addition,  you may add a constant source and/or receiver
     static to each static trace header word.  Static values  are
     supplied  by 3 different formats: sis, disco, and a freeform
     flat file.  To select the sis option, use the  command  line
     argument  -sis  and  put your 8stat, 9corr cards in the file
     designated by -ST.  To select the disco option, use the com-
     mand  line  argument  -disco  and  put your disco data cards
     (i.e. DATA, sht-stat, static OR DATA, rec-stat,  static)  in
     the  file designated by -ST.  To select the freeform option,
     use the command line argument -cards and put the entries  GI
     #,  rec  statics,  and  shot  statics  on one line in a file
     designated by -ST.  Note:  for the disco option run the code
     twice; once with a command line argument -S for source stat-
     ics and once with a command line argument  -R  for  receiver
     statics.   In  all cases, the static values, by default, are
     interpolated to fill in missing values and  written  to  the
     trace  headers specified by the user (usually RcStUn or word
     8 for shot statics and InStUn or word 11 for receiver  stat-
     ics).   You can turn off the interpolation by coding -nin on
     the command line.  You can apply the  statics  to  the  data
     using 2 passes thru program REST (once for the shot statics;
     once for the receiver statics).

     storeit can also be used to put amplitude correction scalars
     into a specified header word, and then use rest to apply the
     correction.  These scalars are computed by  programs  picker
     and  sc3d, using the -amp option.  Use caution as the ampli-
     tude scalar value will be stored as a  full  word  (floating
     point number).  Make sure that you don't specify a half-word
     next to a trace header word that is critical to further pro-
     cessing,  as  it  will  be  replaced with half of the scalar
     value.  By storing the scalars in a word that is defined  as
     a  "fake floating point value" such as Horz01 (uses TVPT01 +
     TVPV01 locations), you can actually look at the stored value
     using program scan.

     storeit gets its data, static file name, and parameters from
     command  line  arguments. These arguments specify the input,
     output, the name of the static file, the option (whether its
     in  freeform,  8STAT - 9CORR , or DISCO  format), source and
     receiver static shift parameters, 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.

     -O otap
          Enter the output data  set  name  or  file  immediately
          after typing -O.  This output file is not required when
          piping the output to another process.  The output  data
          set also requires the full path name (see above).

     -ST sfile
          Enter the static file  name  immediately  after  typing
          -ST. (required) This file expects statics values in one
          of three formats: sis, disco, or free-form.  This  file
          will contain the amplitude scalar values from sc3d when
          the -amp option is specified.

     -sis sis
          Enter the command line argument -sis  to  signify  that
          the static card entries are in 8STAT, 9CORR format.

     -disco disco
          Enter the command line argument -disco to signify  that
          the  static  card  entries  are  in DISCO format: DATA,
          sht-stat,  static.   (If  this  argument  is   present,
          STOREIT must be told that the data cards are for source
          statics -S option or receiver statics -R option.)

     -C   Enter the command line argument -C to signify that  the
          static card entries are in free-format with the follow-
          ing  entries/line:   GI  #,  receiver  static,   source
          static.  If the receiver and source statics are decimal
          values enter a unit factor to convert to integer  (i.e.
          0.1  converts static values of 29.3 to 293).  This same
          unit factor is used by program rest to get back to  the
          correct static value.

     -amp Enter the command line argument -amp  to  signify  that
          you  are  storing  amplitude  correction  scalars.  The
          scalars are computed using  programs  picker  and  sc3d
          with the -amp option.

     -u unit
          Enter the unit factor to divide into all real (decimal)
          static  values.   Currently this option applies only to
          the -C card option.  A unit factor of 0.1 converts  the
          static  of  29.3 to 293.  Recover the correct static by
          using the same -u0.1 factor in program REST.

     -S   Enter the command line argument  '-S'  to  designate  a
          disco format for source statics.

     -R   Enter the command line argument  '-R'  to  designate  a
          disco format for receiver statics.

     -st srcsft
          Enter the desired constant source static for all  input
          records.  The default is 0 ms.

     -rt recsft
          Enter the desired  constant  receiver  static  for  all
          input traces.  The default is 0 ms.

     -IS srcwrd
          Enter the  header  word  mnemonic  to  store  the  shot
          static.  Default = InStUn.

     -IR recwrd
          Enter the header word mnemonic to  store  the  receiver
          static.  Default = RcStUn.

     -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

     ??????????????????


AUTHORS

     Don Wagner, APR, x3281.


COPYRIGHT

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









Man(1) output converted with man2html