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 February 2008

Robert Casey
2008-02-29 00:28:39
Actually, if you have a Mac, you can try our our SAC DHI module, which would allow you to get response information via CORBA: Sorry, I forgot about that one. -Rob
No replies
Geo .
2008-02-28 07:11:15 - 2008-02-28 19:48:00
Greetings, I am trying to deconvolve the instrument response but need poles and zeros files corresponding to them. Does anyone know where I could get them from? Thank you. Januka.
Pablo Palacios
2008-02-27 22:22:10
Hi all, I can open matlab from any window. I am trying to use matlab from sac, but I can not link to it. The set of the current directory for matlab is ok, but after that the ERROR 8002 appears again. Also "mat file.m" does not work. I am using Suse. Could help me? regards, Pablo P. SAC> setmat /home/igjica/Monitoring/bp10minBHZ/data/TUNGURAHUA/2006-07-14 SAC> mat ERROR 8002: Cannot link to MATLAB shared object: SAC> _________________________________________________________________ Invit… [more]
No replies
Dylan Mikesell
2008-02-22 19:21:06
Has anyone ever had a problem with merging a lot of data. I have 5 days of data recorded at 250 Hz. The files were acquired and saved in 30 minute intervals. I am now trying to merge all the half hour sections into one file. The merge function seems to work fine until I get to the 3rd day, but after that the data starts to look corrupted and gets choppy. It kind of looks like the trace has been down-sampled. If I look at the individual traces before merging the data look fine. I am wonde… [more]
No replies
2008-02-15 02:36:22 - 2008-02-15 18:49:22
i have the SAC-101.1 source code and i wanted to compile it on my 64bit redhat linux machine and wanted to create 64-bit static .a library. even i used : ./configure --prefix=mypath CFLAGS=-m64 LDFLAGS=-m64 how come it's still 32-bit library? here is an output of the 'configure' ........................................... CFLAGS = -m32 -m32 LDFLAGS = -m32 -m64 LIBS = -ldl -lm -lncurses Debug = Optimization = Database = off X11-buffer = on X11-depth… [more]
Yang, Ting
2008-02-15 00:56:14
Dear all, I was trying to install the latest SAC v101.1 on my 64 bit Ubuntu system. I got the following error: ----------------------- checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. ------------------------- I have the the newest version of gcc. Anyone has the same problem or knows the solution? Thanks a lot! T… [more]
2008-02-12 21:54:09
Hello, i install sac2000, and i need reports, to this, i do a data base in sql server, and a software in visual basic, that, when sac2000 export the data to microsoft access, i execute my software and the data save in sql server, viewing reports mi problem is that i cant save in time real the data from sac2000 to access, can i configuration sac2000 to save in time real??? becouse i have a big problem if a operator need to click the button "EXPORT", when a manager like see a report Thancks, … [more]
No replies
Mohamed elgabry
2008-02-12 21:46:57
Do anybody have an idea about Phase Equalization filter in sac thanks Mohamed El-Gabry
No replies
Jim Lawson
2008-02-11 07:42:20
$keys $YYYYMMDD echo on setbb yyyymmdd $YYYYMMDD setbb FILEd378d2 (con 'd378d2.' %yyyymmdd '.000000.sac') setbb FILEd378d4 (con 'd378d4.' %yyyymmdd '.000000.sac') writebbf WWW.FILES.BBF The above macro works in sac 100.0 but in 101.0 the first setbb statement causes error 1201 can't find vars variable. Apparently the con statement is not forming a filename in 101.0 as it did in 100.0. Typically YYYYMMDD will be something like "20080210". And I want FILEd378d2 to be "d378d2.20080210.00000… [more]
No replies
2008-02-07 06:38:32
Dear Users and Programmers of SAC, i am using several years the Sac code and i think the new version is the best we ever had with one exception: The precompliled linux binaries never worked for two 32bit computers with Suse Linux 10.1. I had to compile the source files to make it work!! Thanks
No replies
Arthur Snoke
2008-02-07 01:07:18 - 2008-02-07 01:34:34
In the announcement for sac version 101.1, it was stated that one could build sac for Cygwin (Windows) from the same source distribution as used for the other operating systems. As explained below, that is not correct and a separate source distribution for Cygwin is required. Modifications for version 101.1 to some subroutines used in the sacio library led to problems with Fortran programs run on the Mac PPC. These problems have been corrected in the source and binary distributions. Th… [more]
David Tapia Pozos
2008-01-31 03:39:16 - 2008-02-05 02:33:12
Hello, I'm using labview to adquire data coming from a seismic unit. I want to save data in SAC format and after to recover them. I would like to know if you can provide me some VI examples to write and read sac files. best regards, David Tapia
Brian Savage
2008-02-04 23:45:12
Igor Please contact IRIS to get a recent version of SAC which includes the file you need. All current documentation and information regarding SAC resides at IRIS. Cheers, Brian On Feb 3, 2008, at 4:12 PM, Igor Stubailo wrote: Hello, I need to write my own stand-alone codes in FORTRAN and use SAC2000 library routines to handle I/O of SAC formated data files. The library is called sac.a, and it says that i… [more]
No replies
Igor Stubailo
2008-02-03 21:12:37
Hello, I need to write my own stand-alone codes in FORTRAN and use SAC2000 library routines to handle I/O of SAC formated data files. The library is called sac.a, and it says that it is available on the SAC ftp site. What is the ftp site link (URL)? I cannot find it anywhere and the available external links are broken. I need that library for Linux x86. I would appreciate any help. Regards, Igor
No replies
Eva-Maria Rumpfhuber
2008-02-03 18:51:53
Hi Dylan, Below's a simple shell (csh) script to automatically extract header information from multiple sac files. You have to only change the name of your input files, and should be able to run it, I added some comments, hopefully they will help get you on the right track. Good luck, Eva #/bin/csh # This script extracts header information from # sac files. # This is the list of your sac files, with some kind of identifier set event = ` ls *.sac | nawk -F. '{print $2}' | sort | uniq … [more]
No replies
Dylan Mikesell
2008-02-01 21:45:06 - 2008-02-01 22:28:40
Hi All, Is there any way to write a blackboard variable and/or a particular header value (such as user0) to an ascii text file from within SAC? I can't find anything close to this other than writebbf. I also want header values so I need something else. Thanks, Dylan
12:28:35 v.f0c1234e