[SAC-HELP] Having problems creating ALPHA input files

cpena at email.arizona.edu cpena at email.arizona.edu
Thu Nov 3 10:34:30 PST 2005


Hello,

I'm generating synthetic earthquakes composed of about 4100 acceleration points
at 0.012 sec intervals using another program and I want to use double
integration within SAC to generate displacement time series. I've tried
generating the corresponding ALPHA file for SAC and I'm having problems.
Specifically, SAC seems to try to read 5 acc pts at once and I'm creating the
data input in a column format. For example, see below:

Acc pts in column format:

12
23
34
35
11

SAC reads them like this:12   0   0   0   0    (at 0.012 sec intervals)
                         23   0   0   0   0
                         34   0   0   0   0
                         35   0   0   0   0
                         11   0   0   0   0

Instead as like this:    12  23  34  35  11    (at 0.012 sec intervals)

I've tried to separate the acc pts with commas and even tried to rearrange the
input in 5 pts per row and SAC will still read the data as shown above. Even if
this scheme worked, it is impractical to do in a 4100 pt data set.

What do I have to do for SAC to read each acc pt in the column and get rid of
the "spurios" zero values created by SAC?

Thank you so much for your help
Carlos Pena





More information about the sac-help mailing list