SAC Help

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

Email address
sac-help@lists.ds.iris.edu
Type
Moderated by
IRIS Webmaster
Related tags
SAC Software SAC
April
March
February
January

Active Message Threads for January 2014

Jacques Tshilumbu Tshabulanda via LinkedIn
2014-01-29 15:17:53
LinkedIn ------------ Jacques Tshilumbu Tshabulanda requested to add you as a connection on LinkedIn: ------------------------------------------ I'd like to add you to my professional network on LinkedIn. Accept invitation from Jacques Tshilumbu Tshabulanda http://www.linkedin.com/e/-9ou29g-hr09i36t-5v/ubIx8rFs5oSdYQa2oQHQ-lofPc2q7sw6cHvfFlhxuru/blk/I537030590_125/e39SrCAJoS5vrCAJoyRJtCVFnSRJrScJr6RBfnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_dj8NnP0Vdj0Pc3sPdkALgCFdcT1UdCkLdj0TdPoVe30Tej4LrC… [more]
No replies
Mohit Agrawal
2014-01-23 00:47:27 - 2014-01-23 16:12:19
Hello all, I have the sac macro like this: sc mkdir GoodOnes do file wild R.* setbb vert $file r %vert p1 setbb resp (REPLY "Enter g to copy the file to GoodOnes") if %resp eq "g" then sc cp %vert GoodOnes else Message "...This was a bad event." endif enddo I want to plot each file and examine it and then send it to GoodOnes folder by typing "g". But the graphic window it shows does not plot anything at all and it is all white. What could be the possible error. Please help. -Moh… [more]
Replies
mostafa
2014-01-19 09:43:15
You may need to divide the response-removed seismogram by 1.0e9 before writinhg it e.g r ???.sac rmean rtrend taper TRANSFER FROM EVALRESP FNAME $r TO NONE FREQLIM 2.1 2.15 15.5 16.1 PREW 6 DIV 1.0e9 w ???.dsp <https://sn2prd0410.outlook.com/owa/redir.aspx?C=aWxCKi-ybkuNzkngCW4UFod6DJLVic8IR52CYvkFuQVTN3CKpjpRKsER7oScRDeVStU6bxWnbGw.&URL=mailto%3abayoung6%40memphis.edu>
No replies
mostafa
2014-01-19 03:38:11 - 2014-01-19 09:27:05
Hi I want to ask if there is any way to get the RMS of Spectral Amplitude in sac ? RMS command in SAC is design for time domain, although it works in frequency domain also but I am not sure about the results. I need to measure the spectral amplitude and I am seeking a way more dependable than taking a maximum amplitude. Is the Hilbert transforming and taking maximum amplitude afterward a good alternative for taking RMS? Sincerely S. Mostafa Mousavi Ph.D. candidate, Geophysics Center for Ear… [more]
Replies
Reza Mansouri
2014-01-09 22:11:00 - 2014-01-14 19:16:42
Dear all I have compiled sac with matlab libraries on my laptop. as it was mentioned in sac files, I set the LD_LIBRARY_PATH to point the folder that contains libeng.so. I read a sac file into sac but when I use mat I got this error SAC> mat Error: /usr/local/matlab/bin/glnxa64/libeng.so: undefined symbol: engPutArray ERROR 8003: Cannot link to a MATLAB function: engPutArray ERROR 8003: Cannot link to a MATLAB function: engPutArray does anybody knows how to solve this problem. I think som… [more]
Replies
firdaus
2014-01-14 02:53:09
dear All, I have a problem with sac binary file. Whenever i execute "sac" command, there is error message as below: $sac "-bash: /usr/local/sac/bin/sac: cannot execute binary file" kindly your help, please regards
Replies
Jalal
2014-01-13 20:18:04
Dear all , I am asking if there is a way have the poles and zeros from miniseed data in sac format. thanks a lot -- *Abdeljalil LBADAOUI*Earth System Physics Section International Centre for Theoretical Physics Strada Costiera 11 I-34151 Trieste - Italy Phone : +39-040-2240150 Mobile : +39-328-0121863albadaou@ictp.it < https://webmail.ictp.it/webmail/src/compose.php?send_to=albadaou%40ictp.it>
Replies
firdaus
2014-01-10 06:00:50
dear all, i've extracted sac file into text file which contains a time series of particular earthquake. I'm going to import it to EERA in order to have response spectra. However, i'm little bit confused with physical unit of this time series where it does not mention obviously in this text file. I've tried to write a command as follow: %saclst idep f II.COCO.00.BH1.M.2004.361.010030.SAC the output is "12345" i have no idea to solve it. Kindly advice regards
Replies
firdaus
2014-01-10 05:59:21
../2004/II.COCO.00.BH1.M.2004.361.010030.SAC: DELTA = 0.0500001 SCALE = 1.56164e+09 B = 0.0001 E = 719.952 O = -98.0291 STLA = -12.1901 STLO = 96.8349 STEL = 1 STDP = 70 EVLA = 3.4125 EVLO = 95.9012 EVDP = 26.1 DIST = 1726.6 AZ = 176.588 BAZ = 356.516 GCARC = 15.5284 CMPAZ = 141.3 CMPINC = 90 KZDATE = DEC 26 (361), 2004 KZTIME = 01:00:30.029 NVHDR = 6 NPTS = 14400 IFTYPE = 1 LEV… [more]
No replies
Geo .
2014-01-05 19:56:04 - 2014-01-09 17:58:27
Hello, I am trying to do a simple CUT on a collection of 21 seismograms. The time stamps of T0 and T1 are placed using PPK. When I execute cut as follows, however, I get an error. SAC> CUT OFF SAC> CUT ON SAC> R CUT_GGNV_BHZ.SAC WARNING: Start cut greater than stop cut for file CUT_GGNV_BHZ.SAC time: 0.000000 >= 0.000000 index: 1 >= 1 ERROR 1301: No data files read in. This doesn't make sense to me because clearly T0 < T1 for each and every file. Also, I am not sure why SAC is trying to c… [more]
Replies
firdaus
2014-01-08 21:07:29
Dear Chad, Thanks so much for this clear explanation. I've extracted a sac file as enclosed in attachment. After plotting it into EERA, I'm little bit confused regarding unit of these numbers, whether it is velocity, acceleration or displacement. Could you help me please? ------Original Message------ From: Chad Trabant To: Firdaus firdaus Cc: sac-help Subject: Re: [SAC-HELP] extracting time series in sac to excel Sent: Jan 7, 2014 10:38 AM Hello Firdaus, The easiest so… [more]
No replies
Robert Green
2014-01-08 19:56:42 - 2014-01-08 20:28:03
Hi, I have encountered problems using evalresp when using the same routines that have worked before. The RESP files from a new set of data have transfer function coefficients of type B in the response coefficient section which is causing a problem (B054F03 Transfer function type: B). The error I get is: ; Stage: 1]): parse_coeff; parsing (FIR_ASYM), unexpected filter type ('B'), skipping to… [more]
Replies
Beijixue
2014-01-08 09:00:23 - 2014-01-08 12:18:58
Dear all, I am a new user of SAC and the version is 101.6. I learn it myself without any guidance from anybody else, so I get some troubles for your help. First when I use saclst to list the DIST of epicentre, it can't work. For example: >saclst dist o a f 2039471.CI.LUC.EHZ.sac 2032039471.CI.LUC.EHZ.sac 2039471.CI.PLS.ELN.sac9471.CI.PLS.ELN.sac 2039471.CI.LUC.EHZ.sac -12345 0 7.779 2039471.CI.PLS.ELN.sac -12345 0 -12345 But … [more]
Replies
  • Re: help - Milton Plasencia - 2014-01-08 03:29:11
    • Re: help - Beijixue - 2014-01-08 10:52:15
      • Re: help - Januka Attanayake - 2014-01-07 19:44:12
      • Re: help - Dongdong Tian - 2014-01-08 11:38:07
        • Re: help - Beijixue - 2014-01-08 12:18:58
  • Re: help - Milton Plasencia - 2014-01-08 03:32:28
Beijixue
2014-01-08 09:59:12
Hi,Januka, Thank you very much for your answer. The usage of saclst tells us it could output more than one variable at a time. Usage: saclst header_lists f file_lists ex. saclst delta npts kstnm f sacfile1 sacfile2 saclst help - outputs a list of possible values In fact I can use it to list headers for some data I downloaded before. But it cannot work for data I downloaded yesterday. It is very strange. I try to output only DIST at a time, but it still not works. It seems that th… [more]
No replies
firdaus
2014-01-07 01:47:15 - 2014-01-07 16:52:26
dear All anyone knows how to extract time series in sac file to excel sheet ? I need this time series in order to use it in EERA. regards
Replies
firdaus
2014-01-04 02:11:15
dear All, anyone could help me how to solve error message "-bash: /usr/local/sac/bin/sac: cannot execute binary file" ? i've tried a command : "ls -l /usr/local/sac/bin/sac" the output is : -rwxr-xr-x 1 1036 1001 4461467 Nov 11 10:20 /usr/local/sac/bin/sac Thanks and regards
No replies
07:14:25 v.22510d55