Usage:

   stack [ options ] [ file [ file... ]]

Purpose:

   Stacks time series.
   Files may be simple 1-10 column files or GWR ascii files.
   Stacks data segments file-by-file. It expects data in time-parallel columns.
   Time stamping is ignored altogether.
   Thus, the files must be synchronous w.r.t. events (He-reading or midnight or...)

Options:
OBS! all options with minus, no blanks within each!

 -ofilename      - output file                                        ['stacked.dat']

 -Ffilename      - a file with a list of files as an alternative
                   to specify file names on the command line        [by command line]

 -c#n            - Number of columns to process                                   [2]

 -C#c1,#c2[,...] - Column reshuffle                            [1,2,3,4,5,6,7,8,9,10]
                  
Number of columns will be inferred

 -s#f1,#f2[,...] - Scaling factor for each column                            [10*1.0]
                   You may code `&´ to repeat the previous value
                   You may code empty to get 1.0

 -lstr           - location string (qloc_in_file)                      [start at top]

 -f              - Assume the GWR format for input.
                   Location string will be set to `[DATA]´
 -fformat        - Input format (avoid outer parentheses)     ['t20,f15.0,t37,f15.0']

 -d#t,#c         - Test RMS-deviation of column #c to weed out
                   bad files, criterion |RMS| > #t                            [1.0,2]
 -D
#t,#c         - like -d but differentiate the data before the test

 -v              - verbose



Example:

    ls RAW_o054/A2090[7-9]*.054 > ! files4stack
    stack -v -C5,5,11,19 -D0.1,2 -f -oalldays-stacked-1s.dat -Ffiles4stack

    -f                         Processes A2-files
    -C5,5,11,19 -D0.2,2        Retrieves col. 5 (gravity) two times, the second time for differentiation (-D0.2,2)
                               Retrieves col 11 and 19 (tilt controllers)
  

.