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
Login to manage your subscriptions

Active Message Threads for April 2019

riddhi dave
2019-04-29 14:20:24 - 2019-04-29 20:34:01
Hi, I’m working on SAC macro within the bounds of a bash script. Following is a portion of my script #!/bin/bash tail event_info > temp year=`awk '{print substr($1,1,4)}' < temp ` jday=`awk '{print substr($1,5,3)}' < temp ` hour=`awk '{print substr($2,1,2)}' < temp` min=`awk '{print substr($2,3,2)}' < temp` sec=`awk '{print substr($2,5,2)}' < temp ` msec=`awk '{print $2}' < temp | awk -F. '{print $2}' ` EVLA=`awk '{print $3}' < temp ` EVLO=`awk '{print $4}' < temp ` EVDP=`awk '{print $5}' ... [more]
Mochammad Husni Rizal
2019-04-28 12:46:52 - 2019-04-29 18:40:52
Hello everyone, I need to constantly go to the same directories over and over again. For that, I try to implement the macros command. However, as I save a macro file like the one below ** macro for plotting explosion 12h00 15 november 2015 cd /Users/rizal/Google-Drive/Stage-M1/data_IBU/Seismic_Antenna/SAC/201611/ —> this is the folder that I’m pointing to r 20161115_1200_IBUA1z.sac 20161115_1200_IBUA4z.sac 20161115_1200_IBUA5z.sac 20161115_1200_IBUA6z.sac bp bu c 0.5 5 n 2 cd /Users/rizal/G... [more]
Abhash Kumar
2019-04-22 22:08:32 - 2019-04-24 15:20:16
Hi, I have 25 waveforms that shows finite temporal moveout for a recorded event. I want to stack these waveforms to enhance the signal. I followed these steps: 1. picked P arrival on each of these waveforms 2. cut each waveform 2 second before and 5 seconds after their A marker times After cutting and saving the waveforms, I noticed that each SAC file has different B and E times as their A marker times were different (that I used for cutting). Though each SAC file has same length. I am w... [more]
Mitchell Liddell
2019-04-17 17:10:40 - 2019-04-18 09:50:06
Hello, I am using LINEFIT to calculate the slope of a particular function in SAC. The process seems to work, but the results are not written into the header like the manual page indicates they should be: "...the linear fit are written to blackboard variables SLOPE, YINT, SDSLOPE, SDYINT, SDDATA and CORRCOEF respectively.." In my case I receive an output like: SAC> r SAC> linefit Slope and standard deviation are: 0.87509 0.0053469 Intercept and standard deviation are: 0.37646 0.150... [more]
Jacob Gochenour
2019-04-10 02:22:52 - 2019-04-10 13:43:40
I wrote a macro in which loops through sac files in a directory and partitions them into smaller files depending on the amount of data points in the file. The macro then moves the original fine into a backup directory. This works great for directories containing only a few sac files; however, if there are many sac files in the directory, sac quits honoring the bash mv command and terminates the script with an error saying mv is not a valid sac command. Once this happens, commands such as cd a... [more]
Ritu Chaity Ghose
2019-04-04 21:02:30 - 2019-04-05 17:52:36
Hello, I have received the SAC software and got the .sac directory. But I don’t see any setup file in the lib folder. Is there anything I need to edit? My MacOS is 10.13.6. The email says it runs on 10.7, 10.8 and 10.9. Please let me know how can I get the software installed. Thank you Ritu
Fernando Maldonado Salgado
2019-04-02 21:31:23
Hello I write to tell you that I had problems during compilation, the make process generates an error when not finding the lib directory in the installer, the same happens in the make install. Fix it by creating the lib directories in the paths that the installer requires regards Fernando Hola Escribo para platicarles que tuve problemas durante la compilación, el proceso make genera un error al no encontrar en el instalador el directorio lib, lo mismo ocurre en el make install. Lo... [more]
No replies
Page built 05:45:49 | v.6a0a3e16