These raw data files are seismograms of the 7 Jan 1998 Sierra Chemical Co. "Kean Canyon Explosion" recorded at 3 UNR digital stations. They are in SAC ASCII and binary format. Components are Z or V=up-down N=north-south E=east-west. See Paper at http://www.seismo.unr.edu/SierraChemical for station locations. These seismograms are not instrument corrected. See my web site for source code and links for processing seismograms.
Here is the C structure of header/data. The header has a total of 632 bytes. 4 byte Floats and 4 byte longs are a total of 440 bytes and there are 192 2 byte characters. Data follows and stored as 4 byte floats. See the SAC web site for definitions.
struct sac {
float delta, depmin, depmax, scale, odelta;
float b, e, o, a, internal1;
float t0, t1, t2, t3, t4;
float t5, t6, t7, t8, t9;
float f, resp0, resp1, resp2, resp3;
float resp4, resp5, resp6, resp7, resp8;
float resp9, stla, stlo, stel, stdp;
float evla, evlo, evel, evdp, unused1;
float user0, user1, user2, user3, user4;
float user5, user6, user7, user8, user9;
float dist, az, baz, gcarc, internal2;
float internal3, depmen, cmpaz, cmpinc, unused2;
float unused3, unused4, unused5, unused6, unused7;
float unused8, unused9, unused10, unused11, unused12;
long nzyear, nzjday, nzhour, nzmin, nzsec;
long nzmsec, internal4, internal5, internal6, npts;
long internal7, internal8, unused13, unused14, unused15;
long iftype, idep, iztype, unused16, iinst;
long istreg, ievreg, ievtyp, iqual, isynth;
long unused17, unused18, unused19, unused20, unused21;
long unused22, unused23, unused24, unused25, unused26;
long leven, lpspol, lovrok, lcalda, unused27;
char kstnm[8], kevnm[16];
char khole[8], ko[8], ka[8];
char kt0[8], kt1[8], kt2[8];
char kt3[8], kt4[8], kt5[8];
char kt6[8], kt7[8], kt8[8];
char kt9[8], kf[8], kuser0[8];
char kuser1[8], kuser2[8], kcmpnm[8];
char knetwk[8], kdatrd[8], kinst[8];
};
Heres a chunk of C code to load in a sac file
#include "stdio.h"
#include "sac.h" /* above structure definition */
main()
{
struct sac header;
float data;
FILE *fp;
.
.
.
fp = fopen(sacfilename, "rb"); /* open file */
fread(&header, sizeof(struct sac header), 1, fp); /* load sac header */
fread(&data[0], header.npts*sizeof(float), 1, fp); /* load array data of 0 to npts-1 */
.
.
.
}