1. Introduction

Unpack the section_02.tgz with the command

gunzip -c section_02.tgz | tar xvf - 

This will create the directory Section_02 with subdirectories Section_02/Forward and Section_02/Processing.

2. Processing

To run the processing scripts, go to the Section_02 directions, e.g., cd Section_02. The following discusses what is done in each subdirectory. Normally one would enter Forward first and run the DOIT there, and then enter the directory Processing and run the scripts there.

2.1 Forward

The shell script DOIT creates a synthetic data set for a given network and epicenter whose dource parameters are defined. To make the data set as reasliztic as possible, the waveforms are named in the NNSSSCCCLL.SAC style of the USGS CWBquery format, have a realistic time stamp, and appropriate component orientations. These represent the deconvolved, rotated time series with units of ground velocity in m/s.

DOIT

This script creates the synthetics for a specified source mechanism.

NOTE: The script requires the existence of the precomputed teleseismic Green's functions locate in the disk directory $dollar;{GREENDIR}/AK135.TEL, where the environment parameter GREENDIR is the path to the top level of the Green's function direcotries. If this does not exist, the CPS Tutorial Teleseismic and Regional Green's Functions NOV 19, 2008 will show how to compute them.

If you do not have the Green's functions, you can use the NNSSSCCCLL.SAC files in the directorty to test the detection algorithem with out running the DOIT script.

What is in this directory

The DOIT script uses Green's functions generated for arc distances from 30° to 95°. The synthetics provided correpond to a source at latitude 0° and longitude 0° with a depth of 10km in the AK135 continental model, an prigin time of January 25, 2025 01:02:30.456 UTC, Mw=5.0 from a dislocation source with strike = 0°, rake = 0° and dipa = 80°. The distribution of stations and the epicenter are whown in the next figure.

Msp showing ray paths from the epicenter to the stations


Record sectiobn of these default waveforms are shown in the next figure.
Z component R component T component

FINAL NOTE:. Since the Green's functions were computed at increments of 1°, there will be some time differences between the expected and synthetic phse arrival times to a given station.

2.2 Processing

This directory initially consists of the following scripts and FORTRAN source code for saccompress.f. Note: The shell scripts are well commented to indicate what is actually being done.

2.3 Example of compression

This follows the execution of the DOSEARCH script. The resultant stacked envelopes will be Sac files with names such at END_1_-2.stk, which corresponds to a trial source with latitude of 1° and longitude of -2°. For plotting of the peak value, the shell script DOENVPLT is run. This script writes the header values EVLA, EVLO, DEPMAX and TIMMAX onto the file env.txt, determines the maximum stack value, and then normalizes the stack values to create the file envnorm.txt. Finally a simple plot is made which is shown here.

For this run the loops in DOSEARCH cover the range -4.5 to 4.5 in latitude, -4.5 to 4.5 in longitude in increments of 0.5 degree. The simple plot shows stacked envelope amplitudes for the rectangular region -5 to 5 in latitude and -5 to 5 in longitude. Red is the maximum stack value of 1.0 and blue is the stack value of 0.0