Processing Archive Files

Processing Archive Files

From /cnmsn/UTMT:
You need to run the program sdrsplit on the CB* and CL* files, to produce the network seed files.
sdrsplit CB980826.A00

sdrsplit CB980826.A00

sdrsplit CL980826.C00

Using UTMT data as an example, this produces the broadband channel files and the long period channel files, i.e.,

UTMT.NM.BHN.D.1998.237.235655, (BHE, BHZ, LHE, LHN, LHZ), and
UTMT.NM.BHN.D.1998.238.015556, (BHE, BHZ, LHE, LHN, LHZ).

Note that the julian day for August 26 is day 238, yet the first file created is dated 237 (August 25). The first file for a given day, starting at 00:00, will actually start several minutes before the 00:00 hour time, which is why the first file starts on the previous day at (237)23:56:55. The file containing the data from 02:00 to 04:00, next day, will actually start at (238)01:55:56 and end at 04:05:55, so there's always some overlap.

Next, move all files to the corresponding channel directory.

mv UTMT.NM.BHZ.D.1998.237.235655 BHZ.D
mv UTMT.NM.BHN.D.1998.237.235655 BHN.D
..., etc.
You will want to merge all these files, along with the original day file and the previos day's file, resting in the /cnmsn/UTMT/BH?.D directory, together into one complete day file. Change to your work directory,
cd /seis/rbh/STAGING/UTMT/WORK.UTMT.238.
Copy the script sta_merge to current directory.
cp ../../sta_merge .
Edit the script, changing the DOY (Day Of Year), PDOY (Previous Day Of Year), YEAR, or STA (Station ID).

This script will merges all the data streams into one complete day file.

Next, type

sta_merge
Output should produce a complete day file, UTMT.NM.BHZ.D.1999.238.

Consult the manual page for qmerge. The -o option creates the output file named (UTMT.NM.BHZ.D.1999.238). To check the output files contents:

qmerge -n UTMT.NM.BHZ.D.1999.238

Back