#### DESCRIPTION #######################################################
########################################################################
##   Prepares seismic data for analysis.  Essentially this is a       ##
##  wrapper script for more specific scripts for streamlining and     ##
##  simplifying the preprocessing stage.                              ##
##                                                                    ##
##   Stages:                                                          ##
##    <> clean up orientation info                                    ##
##    <> clean up gaps/overlaps                                       ##
##    <> clean up samplerates                                         ##
##    <> toss out short data segments                                 ##
##    <> remove instrument mass drift                                 ##
##    <> remove instrument response                                   ##
##    <> rotate horizontals to radial/tranverse orientations          ##
##                                                                    ##
##   LAST EDITED: June 14, 2008 at 23:20 GMT by Garrett Euler         ##
##   VERSION INFO:                                                    ##
##            1.2: clean up                                           ##
##            1.1: rewrite for new setup                              ##
##            1.0: initial version                                    ##
########################################################################

#### USAGE #############################################################
########################################################################
##  Command line input:                                               ##
##     prep.pl in_dir date short nproc ls lp                          ##
##                                                                    ##
##     where:                                                         ##
##        *in_dir - input data directory (without date)               ##
##        *date - event datetime string of data to work on            ##
##        *short - shortest datafile length allowed (in seconds)      ##
##        *nproc - number of processes to use for tasks               ##
##        *ls & lp - low freq taper for response removal              ##
########################################################################

