A forum for SAC users to exchange ideas and ask questions about SAC usage, installation, portability, etc.
This list has moved to https://groups.google.com/a/earthscope.org/g/sac-community.
- Email address
- sac-help@lists.ds.iris.edu
- Type
-
Help
Help lists are for submitting support questions. Anyone can post a question for NSF SAGE (or another team) to answer.
- Moderated by
- IRIS Webmaster
- Related tags
- SAC Software SAC
September
August
July
June
May
April
March
February
January
August
July
June
May
April
March
February
January
December
November
October
September (1)
August
July
June (4)
May (11)
April (3)
March (5)
February (2)
January (8)
November
October
September (1)
August
July
June (4)
May (11)
April (3)
March (5)
February (2)
January (8)
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]
Replies
-
Re: Error in SAC macro command bound within bash script - George Helffrich - 2019-04-29 20:34:01
-
Re: Error in SAC macro command bound within bash script - riddhi dave - 2019-04-29 16:03:57
-
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/Goo…
[more]
Replies
-
Re: problem with running macro file - Milton Plasencia - 2019-04-29 18:40:52
-
Re: problem with running macro file - George Helffrich - 2019-04-29 18:12:09
-
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 won…
[more]
Replies
-
Re: CUT and stack waveforms in SAC - Geo . - 2019-04-23 12:22:28
-
Re: CUT and stack waveforms in SAC - Andy Nowacki - 2019-04-24 15:20:16
-
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 CS.ph
SAC> linefit
Slope and standard deviation are: 0.87509 0.0053469
Intercept and standard deviation are: 0.37646 0.15027…
[more]
Replies
-
Re: Help with LINEFIT - Leigh House - 2019-04-17 18:07:04
-
Re: Help with LINEFIT - Geo . - 2019-04-18 09:50:06
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 and…
[more]
Replies
-
Re: Simple bash syntax not honored halfway through macro - George Helffrich - 2019-04-10 13:43:40
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
Replies
-
Re: Installation problem - Geo . - 2019-04-05 15:45:49
-
Re: building/running on Mac OS 10.13 - Arthur Snoke - 2019-04-05 17:52:36
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 s…
[more]