SAC Help

A forum for SAC users to exchange ideas and ask questions about SAC usage, installation, portability, etc.

Email address
Moderated by
IRIS Webmaster
Related tags
SAC Software SAC

Active Message Threads for June 2012
2012-06-27 15:33:49 - 2012-06-27 16:11:59
Dear All, I am drawing spectrograms for a set of seismograms and I would like to use the same color code for amplitudes while, by default, deep purple is scaled to the max amplitude. This could also help in case of spikes that saturate the color scale and little but significant signals disappear. Any suggestion? I could not find how to set it in the manual. Thanks in advance. Marco
George Helffrich
2012-06-27 04:26:51
Dear LE - Segmentation faults should never happen in a program, let alone SAC. But perfection is for the gods, not programmers, so a workaround is needed. A workaround that avoids use of the suspect DO loop implementation is to define a macro that processes one file and to then call it for each file. For example: # Define macro cat << EOF > /tmp/onefile read $1$.SAC ch stla 32.8118 stlo -118.8036 w $1$.hac EOF # Find files and make list of SAC commands to run macro on each one ls *.SAC … [more]
No replies
Danielle Sumy
2012-06-26 02:57:51 - 2012-06-27 00:10:39
Hi, I am trying to make picks on SAC files, however, when I 'wh' (write header) with the picks, the 'depmin', 'depmax', and/or 'depmen' parameters change. When I try to read the file again, I can no longer read the waveform, and the picks have disappeared. We are using a Mac with Snow Leopard, and SAC version 101.5. Below, I outline the commands we used. We are using a lot of files, from a lot of different sources, so we do not think that this is a file downloading problem. > sac > r *.… [more]
lennin escobar
2012-06-26 17:19:50
I am running a SAC macro to add the lat and long to a total of 32 events. It turns out that the macro only counts 26 events and leaves the rest of the events untouched. I ran the macro for several folders (I have to do it for many folders with 32 events each) and I found out that 26 is the max iterations that the DO loop can do under SAC. Also, I found out that when number of events is greater that 32 the macro does not even run and the following message just comes out: "Segmentation fault". … [more]
No replies
Sunil .
2012-06-22 18:51:25 - 2012-06-22 22:16:31
Dear Sac user, I upgrade my sac from 101.3 to 101.5c. And in sac-101.5c sac plot screen in very small. I want to increase it. So i want to know, how to increase the plot screen. Thanking you in anticipation. Sunil
Amr El-Sharkawy
2012-06-20 13:32:55
Dear My Professor Thank you very much for your kind reply Please, I need the complete steps which I should follow to install SAC files on my computer. with best Regards, amr mohammed   Enter the text to appear at the bottom of each email you send ________________________________ From: Li xinfu <> To: Amr Mohammed <> Sent: Wednesday, June 20, 2012 5:49 AM Subject: sac manual
No replies
2012-06-19 15:20:08 - 2012-06-20 00:16:30
Hi, I am using sac 101.4 (06/07/2010) on linux and 101.5c (02/01/2012) on mac The following case occur in both versions. The file attached shows a signal z(t) that was filtered three times with bp co 5. According to the SAC manual the filter used is a Butterworth. It definition has only a real component in frequency domain and non-shifted signal is expected after use it. However, the plot attached shows the cross-correlations between the original and its filtered signals, used up to three tim… [more]
Amr El-Sharkawy
2012-06-19 20:22:55
Dear My professor I am Amr Mohammed Mahmoud Seismologist in Seismology department in the National Research Institute of Astronomy and Geophysics I am asking you about a PDF copy of SAC manual in order to help me in my study. Also I donot know how to convert Ascii format to SAC ascii under Linux I am eagerly to hear from you. With All due Respect and Appreciation Amr Mohammed   Enter the text to appear at the bottom of each email you send
No replies
Thomas Barningham
2012-06-05 00:00:44 - 2012-06-05 07:59:05
Dear all, I'm trying to convert an ascii file into a sac file so that it can be read by a matlab program that i'm using. I have a time series of thermal data from several fumaroles that i'm trying to analyse, the current ascii file looks like this: Measurement definition file: Nevado_1001300245-Nevado_1001300890.mdf Sequence start time: 13-feb-2010 13:13:53 Index X01 Max X02 Max X03 Max A04 Max R05 Avg R06 Avg 0 13,942 10,84 32,047 41,853 5,622 7,276 1 14,663 10,965 29,603 31,401 5,84 7,431 … [more]
12:30:07 v.ad6b513c