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 September 2009

reza
2009-09-30 01:04:54
Whom It May Concern: If you consider, there are two values in sac header. Depmax and Depmin which illustrate their amplitudes. I want to obtain their related periods but I do not know how to do it. I would be pleased if you help me. Thank you, Reza
No replies
reza
2009-09-26 17:10:25 - 2009-09-26 17:31:52
Hi every one, Sac reads the max peak point during the waveform and save them in Depmax or Depmin. I want to read Depmax or Depmin in a specific place. For instance in S group or around T0. Markptp can read in a specific window but it reads peak to peak and I want to read only peak in a window range. I would be pleased if you help me. Thank you, Reza,
Replies
Arthur Snoke
2009-09-18 22:21:01
Somehow, two of the scripts in sac/bin ended up with DOS line ending so will not work. That is, every line in these text files end in \r\n instead of the Unix \n. These scripts are sgftoeps.csh (used to translate .sgf graphics files to EPS files) and sgftox.csh (used to produce a screen display of a .sgf file using gs). Corrected scripts wil be included with the patches we will be uploading to IRIS. In the meantime, if you want to fix these files yourself, on Linux you can use dos2uni… [more]
No replies
Onur Tan
2009-09-17 20:20:59
Hi, I use SAC 101.1 on ubuntu 8.10 I write the sac file name wrong. Then "error 1301" occurs. I try to read file again but I get "segmentation Fault" error. here is an example SAC> SAC> r 09077_1647_RRRR.1 SAC> cut 100 300 SAC> r SAC> r 09077_1647_RRRR.1x ERROR 1301: No data files read in. SAC> r 09077_1647_RRRR.1 Segmentation fault This always occurs. Not depend on data file or operating system (I used Fedora 8 two months ago) best regards onur
Replies
Arthur Snoke
2009-09-16 00:49:15
There have been some traffic on sac-help about SAC bugs. Brian Savage has found fixes and is preparing patches for some of these. I give a list below. I also describe a bug and a fix I found in the utility program sgftops. As this program is a "stand-alone" program (does not require anything more than a compile/install line), I give the patch at the end. The current plan is to send IRIS the patches to post on the SAC software Web site in a month or so. Please share with sac-help any … [more]
No replies
zhaoming
2009-09-15 22:22:19
From: "赵明" <zm1984@mail.igcas.ac.cn> Subject: 来信已收到! = = = = = = = = = = = = = = = = = = = = > >         致 > 礼! > > >         赵明 >         zm1984@mail.igcas.ac.cn ************************************************ Mr. Ming Zhao Institute of Geology and Geophysics Chinese Academy of Sciences Beijing 100029 China Tel: 0086-010-88258647(Office) ************************************************
No replies
Omar Afif
2009-09-15 06:40:41 - 2009-09-15 18:14:52
I have tried many times sonogram and spectrogram functions in SAC_Linux ver(00.59.44), but unfortunately I have gotten massages below then SAC has crashed. ========================================SAC> read test_123456.sac   SAC> sonogram Window size: 200 Overlap: 100 FFT size: 512 Warning: ORDER begin reset to 1/2 length of correlation window. ORDER = 100 Spectrogram dimensions are 512 by 343 . X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 72… [more]
Replies
eshabani@ut.ac.ir
2009-09-13 21:37:55
Would you please help me find RSAC1 , GETNHV, GETKHV routins to use in fortran? Thank you
Replies
  • Re: RSAC1 - Katie Boyle - 2009-09-13 15:55:58
zhaoming
2009-09-13 17:28:02
From: "赵明" <zm1984@mail.igcas.ac.cn> Subject: 来信已收到! = = = = = = = = = = = = = = = = = = = = > >         致 > 礼! > > >         赵明 >         zm1984@mail.igcas.ac.cn ************************************************ Mr. Ming Zhao Institute of Geology and Geophysics Chinese Academy of Sciences Beijing 100029 China Tel: 0086-010-88258647(Office) ************************************************
No replies
reza
2009-09-11 20:23:21 - 2009-09-12 23:19:39
Hi, My problem is this: markptp command reads absolute value of maximum pick to pick. Now I want to read only the largest peak or trough during the waveform.I want to do it for ML magnitude. Best regards, Reza
Replies
Susan Bilek
2009-09-09 17:12:53
Hi there, I've run into an error when using the beginwindow command in the newest version (101.3b). Plotting works fine in a single plot window, but when I try to plot in a new plot window using "beginwindow 2" then "plot", I get a bus error and sac quits. This command is in a macro that worked prior to changing to the newest version, and it's also a problem outside of a macro, just simply trying to plot after a bw 2 command. I'm running the binary distribution of 101.3b for Mac… [more]
No replies
Yi Tao
2009-09-09 16:52:45
All, I have a problem when transforming the sac file to a binary file. I only want the seismic event data, I don't need the header. Also, does anyone know how to put the individual seismic events together, just like SEGY does. I have a lot of data to transform. Best, Yi
No replies
Hi, I've been trying to install SAC on my Fedora 11 box (kernel 2.6.29.6-217.2.8.fc11.x86_64), but I've run into a compilation problem: When I do a no-option configure, then type "make", I get: >make Making all in libedit make[1]: Entering directory `/usr/local/build/libedit' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/build/libedit' Making all in utils make[1]: Entering directory `/usr/local/build/utils' make[1]: Nothing to… [more]
Replies
Onur Tan
2009-09-03 21:36:52 - 2009-09-05 05:35:25
Dear All, I need a computer code (fortran, matlab etc.) to convert the ascii time series to SAC format. I would appreciate it if you help me about this problem. Regards, Ruhi Saatcilar TÜBİTAK Marmara Araştırma Merkezi, Yer ve Deniz Bilimleri Enst. P.K.21, Gebze-Kocaeli 41470 Tel: 262-6772850, 6772855
Replies
zhaoming
2009-09-05 02:45:12
From: "赵明" <zm1984@mail.igcas.ac.cn> Subject: 来信已收到! = = = = = = = = = = = = = = = = = = = = > >         致 > 礼! > > >         赵明 >         zm1984@mail.igcas.ac.cn ************************************************ Mr. Ming Zhao Institute of Geology and Geophysics Chinese Academy of Sciences Beijing 100029 China Tel: 0086-010-88258647(Office) ************************************************
No replies
Omar Afif
Hey
2009-09-04 16:02:29
Hey Know this site?  www.bfrls.com  It mainly sell electronic products. Now, the website is promoting their products and the promotion only has 45 days. I bought an iphone which is very cheap and I have got it. It is very good. You can have a look. I introduce you to buy, so I can get discount from their website. Greetings!
No replies
gilberto saccorotti
2009-09-03 00:50:08
Hi to everybody, I just installed sac-101.3b linux_x86_64 on my 64-bit machine running Ubuntu. Differently with the previous version, I noted that sac is not able to correctly read the header's fields (in particular: nzyear, nzjday, nzhour....) of segy, big-endian data. I can forward a sample file, if needed. Any help-suggestion is greatly acknowledged. cheers, Gilberto -- ************************************************************** Gilberto Saccorotti … [more]
No replies
21:04:19 v.22510d55