From yzheng at es.ucsc.edu Wed Aug 4 11:26:22 2010 From: yzheng at es.ucsc.edu (Yingcai Zheng) Date: Wed, 4 Aug 2010 14:26:22 -0400 Subject: [SAC-HELP] sac-101.4 on Ubuntu is slow? Message-ID: I just downloaded the newest sac-101.4-linux_x86_64.tar.gz for my Ubuntu workstation: > uname -a Linux slab 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux I tried to read 700 *.sac files each of which is 70Kbyte, > r *.sac but it took minutes to read/load them into the memory. After I loaded them into memory, I tried SAC> sort gcarc and it again took minutes ... Is there something wrong with my machine? Previously, I was using sac-101.2 on RedHat and it was very fast especially the sorting feature. Any idea? Thank you. Yingcai Zheng UCSC -------------- next part -------------- An HTML attachment was scrubbed... URL: From nju_huangtao at 126.com Fri Aug 6 23:52:06 2010 From: nju_huangtao at 126.com (=?gbk?B?u8boug==?=) Date: Sat, 7 Aug 2010 14:52:06 +0800 (CST) Subject: [SAC-HELP] remove instrument response Message-ID: <448d3636.386d.12a4b521d55.Coremail.nju_huangtao@126.com> Hello everyone: I use sac command 'transfer' to remove the instrument response. SAC>r 2008.001.18.1.sac SAC> transfer from polezero subtype pozeht01 to none ERROR 1: SAC> then I get a signal which has been removed the instrument response,I don't weather it really work ,and as you see,a ERROR 1: happened, I don't know why this will happen,who can give me some suggestions! Thank you! Tao Huang Nanjing University -------------- next part -------------- An HTML attachment was scrubbed... URL: From savage at uri.edu Mon Aug 9 09:52:10 2010 From: savage at uri.edu (Brian Savage) Date: Mon, 9 Aug 2010 12:52:10 -0400 Subject: [SAC-HELP] remove instrument response In-Reply-To: <448d3636.386d.12a4b521d55.Coremail.nju_huangtao@126.com> References: <448d3636.386d.12a4b521d55.Coremail.nju_huangtao@126.com> Message-ID: <331942A8-CC74-4F36-8E99-1ACFD397D74D@uri.edu> Dear Tao Huang, I think you may have extra characters in your polezero file. Please run: % od -c pozeht01 If you have extra characters, you will see \r or \r \n in the output. The \r is a Carriage Return and \n is a Line feed. If you have these you can remove them in a variety of ways. If you have dos2unix on your machine, use this or try % tr -d '\r' < inputfile > outputfile See: http://en.wikipedia.org/wiki/Newline If you only have \n and not \r, then this is a different problem that we should be able to handle. Brian savage at uri.edu On Aug 7, 2010, at 2:52 AM , ?? wrote: > Hello everyone: > > I use sac command 'transfer' to remove the instrument response. > SAC>r 2008.001.18.1.sac > SAC> transfer from polezero subtype pozeht01 to none > ERROR 1: > SAC> > then I get a signal which has been removed the instrument response,I > don't weather it really work > ,and as you see,a ERROR 1: happened, > I don't know why this will happen,who can give me some suggestions! > > Thank you! > Tao Huang > Nanjing University > > > > > > ???????????????????? > _______________________________________________ > sac-help mailing list > sac-help at iris.washington.edu > http://www.iris.washington.edu/mailman/listinfo/sac-help From brunofaria at sapo.cv Tue Aug 10 08:43:33 2010 From: brunofaria at sapo.cv (Bruno Faria) Date: Tue, 10 Aug 2010 14:43:33 -0100 Subject: [SAC-HELP] Floating point exception Message-ID: <012401cb38a2$ca41fa10$64f0a8c0@patrulador2> Dear All, I have just installed SAC v101.4 32 bit on a Fedora 5 Linux pc. When I try to run SAC a get the message "Floating point exception". What should I do in order to get SAC running? Thank you very much in advance for your assistance. Best regards, Bruno -------------- next part -------------- An HTML attachment was scrubbed... URL: From avesnaver at inogs.it Wed Aug 11 02:27:37 2010 From: avesnaver at inogs.it (Aldo Vesnaver) Date: Wed, 11 Aug 2010 11:27:37 +0200 Subject: [SAC-HELP] Source code for SAC-IO libraries Message-ID: <4C626D09.8050802@inogs.it> I asked and received the most recent version of SAC, WITH the option of source code inclusion for both Linux and CigWin environment. However, I cannot find the source code of the SAC-IO library in any (sub)-directory. I need it to re-compile that library code on my PC in Windows, for linking it to FORTRAN codes I have been developing. The SAC (101.4 version) installation was succesful on Linux and the software is working properly. I could also succesfully link the BINARY version of the library (sacio.a) to a FORTRAN code of mine in Linux; however, without the source code of the same library (sacio) or a Windows-compiled object of it, I cannot complete my work in Windows. Any hint? Thanks! Aldo Vesnaver ------------------------------------------------- Aldo Vesnaver, OGS (GdL Department) Borgo Grotta Gigante 42/c 34010 Trieste (Italy) E-mail: avesnaver at inogs.it Office phone: +39 040 2140459 Home phone: +39 040 416247 http://it.linkedin.com/pub/aldo-vesnaver/9/baa/559 From savage at uri.edu Wed Aug 11 08:18:23 2010 From: savage at uri.edu (Brian Savage) Date: Wed, 11 Aug 2010 11:18:23 -0400 Subject: [SAC-HELP] Source code for SAC-IO libraries In-Reply-To: <4C626D09.8050802@inogs.it> References: <4C626D09.8050802@inogs.it> Message-ID: Dear Aldo Vesnaver, If you requested the SAC source, you should be able to compile sac and the sacio library on a windows machine and a linux machine. Due to licensing restrictions we are not able to provide a Windows binary version, only source. Brian savage at uri.edu On Aug 11, 2010, at 5:27 AM , Aldo Vesnaver wrote: > > I asked and received the most recent version of SAC, > WITH the option of source code inclusion for both Linux and CigWin > environment. However, I cannot find the source code of the SAC-IO > library in any (sub)-directory. I need it to re-compile that > library code on my PC in Windows, for linking it to FORTRAN codes > I have been developing. > The SAC (101.4 version) installation was succesful on Linux > and the software is working properly. I could also succesfully > link the BINARY version of the library (sacio.a) to a FORTRAN > code of mine in Linux; however, without the source code > of the same library (sacio) or a Windows-compiled object > of it, I cannot complete my work in Windows. > > Any hint? > > Thanks! > > Aldo Vesnaver > > > ------------------------------------------------- > Aldo Vesnaver, OGS (GdL Department) > Borgo Grotta Gigante 42/c > 34010 Trieste (Italy) > > E-mail: avesnaver at inogs.it > Office phone: +39 040 2140459 > Home phone: +39 040 416247 > http://it.linkedin.com/pub/aldo-vesnaver/9/baa/559 > > > _______________________________________________ > sac-help mailing list > sac-help at iris.washington.edu > http://www.iris.washington.edu/mailman/listinfo/sac-help > From savage at uri.edu Wed Aug 11 09:27:53 2010 From: savage at uri.edu (Brian Savage) Date: Wed, 11 Aug 2010 12:27:53 -0400 Subject: [SAC-HELP] Floating point exception In-Reply-To: <012401cb38a2$ca41fa10$64f0a8c0@patrulador2> References: <012401cb38a2$ca41fa10$64f0a8c0@patrulador2> Message-ID: <557D5C54-C512-47B8-ACB1-DD395FBA3F43@uri.edu> Dear Bruno, I would suggest starting here http://www.iris.washington.edu/pipermail/sac-help/2009-June/000565.html This behavior was reported a while back, but I do not know if this fixed the problem. If you fix this issue, please let me know. 64 bit versions of SAC do exist for linux now. Brian savage at uri.edu On Aug 10, 2010, at 11:43 AM , Bruno Faria wrote: > Dear All, > > I have just installed SAC v101.4 32 bit on a Fedora 5 Linux pc. > > When I try to run SAC a get the message "Floating point exception". > > What should I do in order to get SAC running? > > Thank you very much in advance for your assistance. > > Best regards, > Bruno > > _______________________________________________ > sac-help mailing list > sac-help at iris.washington.edu > http://www.iris.washington.edu/mailman/listinfo/sac-help From avesnaver at inogs.it Wed Aug 11 10:35:26 2010 From: avesnaver at inogs.it (Aldo Vesnaver) Date: Wed, 11 Aug 2010 19:35:26 +0200 Subject: [SAC-HELP] Source code for SAC-IO libraries In-Reply-To: References: <4C626D09.8050802@inogs.it> Message-ID: <20100811193526.150440ldmd1dxizi@webmail.ogs.trieste.it> Of course, I understand it. But to compile any source code you need the code. This is the problem: the code is missing, or I am unable to find it. (I guess it is a glitch in the delivery). Does anybody know where it is? Thanks a lot! Aldo Quoting "Brian Savage" : > Dear Aldo Vesnaver, > > If you requested the SAC source, you should be able to compile sac and > the sacio library on a windows machine and a linux machine. > > Due to licensing restrictions we are not able to provide a Windows > binary version, only source. > > Brian > savage at uri.edu > > On Aug 11, 2010, at 5:27 AM , Aldo Vesnaver wrote: > >> >> I asked and received the most recent version of SAC, >> WITH the option of source code inclusion for both Linux and CigWin >> environment. However, I cannot find the source code of the SAC-IO >> library in any (sub)-directory. I need it to re-compile that >> library code on my PC in Windows, for linking it to FORTRAN codes >> I have been developing. >> The SAC (101.4 version) installation was succesful on Linux >> and the software is working properly. I could also succesfully >> link the BINARY version of the library (sacio.a) to a FORTRAN >> code of mine in Linux; however, without the source code >> of the same library (sacio) or a Windows-compiled object >> of it, I cannot complete my work in Windows. >> >> Any hint? >> >> Thanks! >> >> Aldo Vesnaver >> >> >> ------------------------------------------------- >> Aldo Vesnaver, OGS (GdL Department) >> Borgo Grotta Gigante 42/c >> 34010 Trieste (Italy) >> >> E-mail: avesnaver at inogs.it >> Office phone: +39 040 2140459 >> Home phone: +39 040 416247 >> http://it.linkedin.com/pub/aldo-vesnaver/9/baa/559 >> >> >> _______________________________________________ >> sac-help mailing list >> sac-help at iris.washington.edu >> http://www.iris.washington.edu/mailman/listinfo/sac-help >> > > _______________________________________________ > sac-help mailing list > sac-help at iris.washington.edu > http://www.iris.washington.edu/mailman/listinfo/sac-help > -- ------------------------------------------------- Aldo Vesnaver, OGS (GdL Department) Borgo Grotta Gigante 42/c 34010 Trieste (Italy) E-mail: avesnaver at inogs.it Office phone: +39 040 2140459 Home phone: +39 040 416247 http://it.linkedin.com/pub/aldo-vesnaver/9/baa/559 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From snoke at vt.edu Wed Aug 11 10:51:27 2010 From: snoke at vt.edu (Arthur Snoke) Date: Wed, 11 Aug 2010 13:51:27 -0400 (EDT) Subject: [SAC-HELP] Source code for SAC-IO libraries In-Reply-To: <20100811193526.150440ldmd1dxizi@webmail.ogs.trieste.it> References: <4C626D09.8050802@inogs.it> <20100811193526.150440ldmd1dxizi@webmail.ogs.trieste.it> Message-ID: Caveat: I do not use a PC. That said, SAC "source" is in various subdirectories of sac-version/src. All code is written in C, and is best build using gcc. The sacio library has routines that can be used in Fortran programs, as you have done on your Linux system. There is no guarantee that the code will work with all Fortran compilers: gfortran and various flavors of f77/g77 work for me on Macs, and the Sun Fortran compiler works on Sun Solaris. If you want to work with the source, you can find out the routines in the sacio library that is built on Linux or Cygwin and find them in the src tree. The only way SAC works on a PC is through Cygwin. Or have I misunderstood your question? Arthur On Wed, 11 Aug 2010, Aldo Vesnaver wrote: > > Of course, I understand it. But to compile any source code you need > the code. This is the problem: the code is missing, or I am unable > to find it. (I guess it is a glitch in the delivery). > Does anybody know where it is? > > Thanks a lot! > > Aldo > > > Quoting "Brian Savage" : > >> Dear Aldo Vesnaver, >> >> If you requested the SAC source, you should be able to compile sac and >> the sacio library on a windows machine and a linux machine. >> >> Due to licensing restrictions we are not able to provide a Windows >> binary version, only source. >> >> Brian >> savage at uri.edu >> >> On Aug 11, 2010, at 5:27 AM , Aldo Vesnaver wrote: >> >>> >>> I asked and received the most recent version of SAC, >>> WITH the option of source code inclusion for both Linux and CigWin >>> environment. However, I cannot find the source code of the SAC-IO >>> library in any (sub)-directory. I need it to re-compile that >>> library code on my PC in Windows, for linking it to FORTRAN codes >>> I have been developing. >>> The SAC (101.4 version) installation was succesful on Linux >>> and the software is working properly. I could also succesfully >>> link the BINARY version of the library (sacio.a) to a FORTRAN >>> code of mine in Linux; however, without the source code >>> of the same library (sacio) or a Windows-compiled object >>> of it, I cannot complete my work in Windows. >>> >>> Any hint? >>> >>> Thanks! >>> >>> Aldo Vesnaver >>> >>> >>> ------------------------------------------------- >>> Aldo Vesnaver, OGS (GdL Department) >>> Borgo Grotta Gigante 42/c >>> 34010 Trieste (Italy) >>> >>> E-mail: avesnaver at inogs.it >>> Office phone: +39 040 2140459 >>> Home phone: +39 040 416247 >>> http://it.linkedin.com/pub/aldo-vesnaver/9/baa/559 >>> >>> >>> _______________________________________________ >>> sac-help mailing list >>> sac-help at iris.washington.edu >>> http://www.iris.washington.edu/mailman/listinfo/sac-help >>> >> >> _______________________________________________ >> sac-help mailing list >> sac-help at iris.washington.edu >> http://www.iris.washington.edu/mailman/listinfo/sac-help >> > > > > -- > ------------------------------------------------- > Aldo Vesnaver, OGS (GdL Department) > Borgo Grotta Gigante 42/c > 34010 Trieste (Italy) > > E-mail: avesnaver at inogs.it > Office phone: +39 040 2140459 > Home phone: +39 040 416247 > http://it.linkedin.com/pub/aldo-vesnaver/9/baa/559 > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > _______________________________________________ > sac-help mailing list > sac-help at iris.washington.edu > http://www.iris.washington.edu/mailman/listinfo/sac-help From brunofaria at sapo.cv Wed Aug 11 10:56:59 2010 From: brunofaria at sapo.cv (Bruno Faria) Date: Wed, 11 Aug 2010 16:56:59 -0100 Subject: [SAC-HELP] Floating point exception References: <012401cb38a2$ca41fa10$64f0a8c0@patrulador2> <557D5C54-C512-47B8-ACB1-DD395FBA3F43@uri.edu> Message-ID: <011401cb397e$9854fc00$64f0a8c0@patrulador2> Dear Brian, Thank you very much for your attention. Actually I have tried this before and I got this: _____________________________________________________________________________________________________________ [root at localhost sac]# ldd /usr/local/sac/bin/sac /usr/bin/ldd: line 124: 18383 Floating point exceptionLD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW= LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= "$@" _____________________________________________________________________________________________________________ Is there anything that I should do to fix this issue? Thank you in advance for your help. Best regards, Bruno ----- Original Message ----- From: Brian Savage To: SAC-help Listserv Sent: Wednesday, August 11, 2010 3:27 PM Subject: Re: [SAC-HELP] Floating point exception Dear Bruno, I would suggest starting here http://www.iris.washington.edu/pipermail/sac-help/2009-June/000565.html This behavior was reported a while back, but I do not know if this fixed the problem. If you fix this issue, please let me know. 64 bit versions of SAC do exist for linux now. Brian savage at uri.edu On Aug 10, 2010, at 11:43 AM , Bruno Faria wrote: > Dear All, > > I have just installed SAC v101.4 32 bit on a Fedora 5 Linux pc. > > When I try to run SAC a get the message "Floating point exception". > > What should I do in order to get SAC running? > > Thank you very much in advance for your assistance. > > Best regards, > Bruno > > _______________________________________________ > sac-help mailing list > sac-help at iris.washington.edu > http://www.iris.washington.edu/mailman/listinfo/sac-help _______________________________________________ sac-help mailing list sac-help at iris.washington.edu http://www.iris.washington.edu/mailman/listinfo/sac-help -------------- next part -------------- An HTML attachment was scrubbed... URL: From savage at uri.edu Wed Aug 11 11:00:54 2010 From: savage at uri.edu (Brian Savage) Date: Wed, 11 Aug 2010 14:00:54 -0400 Subject: [SAC-HELP] Source code for SAC-IO libraries In-Reply-To: <20100811193526.150440ldmd1dxizi@webmail.ogs.trieste.it> References: <4C626D09.8050802@inogs.it> <20100811193526.150440ldmd1dxizi@webmail.ogs.trieste.it> Message-ID: <9CFA178F-76BA-4F42-AE09-EF15D23B767A@uri.edu> Dear Aldo, If you requested the source, please contact the person at IRIS that sent you the email to resolve this issue. Brian Savage savage at uri.edu On Aug 11, 2010, at 1:35 PM , Aldo Vesnaver wrote: > > Of course, I understand it. But to compile any source code you need > the code. This is the problem: the code is missing, or I am unable > to find it. (I guess it is a glitch in the delivery). > Does anybody know where it is? > > Thanks a lot! > > Aldo > > > Quoting "Brian Savage" : > >> Dear Aldo Vesnaver, >> >> If you requested the SAC source, you should be able to compile sac >> and >> the sacio library on a windows machine and a linux machine. >> >> Due to licensing restrictions we are not able to provide a Windows >> binary version, only source. >> >> Brian >> savage at uri.edu >> >> On Aug 11, 2010, at 5:27 AM , Aldo Vesnaver wrote: >> >>> >>> I asked and received the most recent version of SAC, >>> WITH the option of source code inclusion for both Linux and CigWin >>> environment. However, I cannot find the source code of the SAC-IO >>> library in any (sub)-directory. I need it to re-compile that >>> library code on my PC in Windows, for linking it to FORTRAN codes >>> I have been developing. >>> The SAC (101.4 version) installation was succesful on Linux >>> and the software is working properly. I could also succesfully >>> link the BINARY version of the library (sacio.a) to a FORTRAN >>> code of mine in Linux; however, without the source code >>> of the same library (sacio) or a Windows-compiled object >>> of it, I cannot complete my work in Windows. >>> >>> Any hint? >>> >>> Thanks! >>> >>> Aldo Vesnaver >>> >>> >>> ------------------------------------------------- >>> Aldo Vesnaver, OGS (GdL Department) >>> Borgo Grotta Gigante 42/c >>> 34010 Trieste (Italy) >>> >>> E-mail: avesnaver at inogs.it >>> Office phone: +39 040 2140459 >>> Home phone: +39 040 416247 >>> http://it.linkedin.com/pub/aldo-vesnaver/9/baa/559 >>> >>> >>> _______________________________________________ >>> sac-help mailing list >>> sac-help at iris.washington.edu >>> http://www.iris.washington.edu/mailman/listinfo/sac-help >>> >> >> _______________________________________________ >> sac-help mailing list >> sac-help at iris.washington.edu >> http://www.iris.washington.edu/mailman/listinfo/sac-help >> > > > > -- > ------------------------------------------------- > Aldo Vesnaver, OGS (GdL Department) > Borgo Grotta Gigante 42/c > 34010 Trieste (Italy) > > E-mail: avesnaver at inogs.it > Office phone: +39 040 2140459 > Home phone: +39 040 416247 > http://it.linkedin.com/pub/aldo-vesnaver/9/baa/559 > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > From S.Sherburn at gns.cri.nz Mon Aug 16 21:20:45 2010 From: S.Sherburn at gns.cri.nz (Steve Sherburn) Date: Tue, 17 Aug 2010 16:20:45 +1200 Subject: [SAC-HELP] compiling standalone progs with sac libraries on 64-bit Message-ID: An HTML attachment was scrubbed... URL: From m.tchelo at gmail.com Tue Aug 17 06:50:52 2010 From: m.tchelo at gmail.com (Marcelo Bianchi) Date: Tue, 17 Aug 2010 10:50:52 -0300 Subject: [SAC-HELP] compiling standalone progs with sac libraries on 64-bit In-Reply-To: References: Message-ID: Hi Does you have the necessary files to compile 32bits code installed in your fedora ? Normally you would need some 32 bits header files. Something like libc32-dev, or libgcc32-dev or something like this .... regards, Marcelo -- Mobile ~ +55 11 8384 9207 http://sites.google.com/site/foo4funreborn/ 2010/8/17 Steve Sherburn > Hi, > > I am trying to compile a standalone progam using the sac libraries on a > machine running 64-bit Fedora 13. I have the most recent 64-bit executables, > sac-101.4-linux-x86_64. > > my makefile contains > LIB = -L/usr/local/sac/lib -lsacio > sac2rsam: sac2rsam.o > gcc -c sac2rsam.c -o sac2rsam.o $(LIB) > gcc -o sac2rsam sac2rsam.o $(LIB) > > This gives an error: > make sac2rsam > gcc -c sac2rsam.c -o sac2rsam.o -L/usr/local/sac/lib -lsacio > gcc -o sac2rsam sac2rsam.o -L/usr/local/sac/lib -lsacio > /usr/local/sac/lib/libsacio.a(math.o): In function `powi': > math.c:(.text+0xf1): undefined reference to `pow' > collect2: ld returned 1 exit status > make: *** [sac2rsam] Error 1 > > If I assume sacio is 32-bit and add -m32 after gcc in my makefile I get a > different error: > make sac2rsam > gcc -m32 -c sac2rsam.c -o sac2rsam.o -L/usr/local/sac/lib -lsacio > In file included from /usr/include/features.h:385, > from /usr/include/stdio.h:28, > from sac2rsam.c:5: > /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or > directory > make: *** [sac2rsam] Error 1 > > Does anyone know how I should proceed? > > Many thanks > > > Steven Sherburn > GNS Science > Wairakei > New Zealand > > Notice: This email and any attachments are confidential. If received in > error please destroy and immediately notify us. Do not copy or disclose the > contents. > > _______________________________________________ > sac-help mailing list > sac-help at iris.washington.edu > http://www.iris.washington.edu/mailman/listinfo/sac-help > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From savage at uri.edu Tue Aug 17 07:14:09 2010 From: savage at uri.edu (Brian Savage) Date: Tue, 17 Aug 2010 10:14:09 -0400 Subject: [SAC-HELP] compiling standalone progs with sac libraries on 64-bit In-Reply-To: References: Message-ID: <19188AE6-A6AE-4590-BA4C-14046FEE4BA5@uri.edu> Dear Steve, You need to add the math library (libm) that contains pow. Add -lm to the end of the compile line or to LIB Brian On Aug 17, 2010, at 12:20 AM , Steve Sherburn wrote: > Hi, > > I am trying to compile a standalone progam using the sac libraries > on a machine running 64-bit Fedora 13. I have the most recent 64-bit > executables, sac-101.4-linux-x86_64. > > my makefile contains > LIB = -L/usr/local/sac/lib -lsacio > sac2rsam: sac2rsam.o > gcc -c sac2rsam.c -o sac2rsam.o $(LIB) > gcc -o sac2rsam sac2rsam.o $(LIB) > > This gives an error: > make sac2rsam > gcc -c sac2rsam.c -o sac2rsam.o -L/usr/local/sac/lib -lsacio > gcc -o sac2rsam sac2rsam.o -L/usr/local/sac/lib -lsacio > /usr/local/sac/lib/libsacio.a(math.o): In function `powi': > math.c:(.text+0xf1): undefined reference to `pow' > collect2: ld returned 1 exit status > make: *** [sac2rsam] Error 1 > > If I assume sacio is 32-bit and add -m32 after gcc in my makefile I > get a different error: > make sac2rsam > gcc -m32 -c sac2rsam.c -o sac2rsam.o -L/usr/local/sac/lib -lsacio > In file included from /usr/include/features.h:385, > from /usr/include/stdio.h:28, > from sac2rsam.c:5: > /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file > or directory > make: *** [sac2rsam] Error 1 > > Does anyone know how I should proceed? > > Many thanks > > > Steven Sherburn > GNS Science > Wairakei > New Zealand > > Notice: This email and any attachments are confidential. If received > in error please destroy and immediately notify us. Do not copy or > disclose the contents. > > > > > _______________________________________________ > sac-help mailing list > sac-help at iris.washington.edu > http://www.iris.washington.edu/mailman/listinfo/sac-help From atawon at yahoo.com Fri Aug 20 04:02:15 2010 From: atawon at yahoo.com (Atalay Ayele) Date: Fri, 20 Aug 2010 04:02:15 -0700 (PDT) Subject: [SAC-HELP] Displaying Spectrogram result In-Reply-To: <4C626D09.8050802@inogs.it> Message-ID: <718656.85918.qm@web113213.mail.gq1.yahoo.com> Dear all, I run the following command after reading file and removing trend mean with most parameters being the defaults. SAC> spectrogram ymin 0 ymax 10 When I was expecting the spectrogram plot on the screen, I got the following error message: Window size: 39 Overlap: 19 FFT size: 128 Warning: ORDER begin reset to 1/2 length of correlation window. ORDER = 19 Spectrogram dimensions are 512 by 10888 . X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 72 (X_PutImage) Serial number of failed request: 6611 Current serial number in output stream: 6613 Can someone comment on the possible reason and suggest a solution? Regards, Atalay From panxu.zhang at usc.edu Thu Aug 26 00:50:52 2010 From: panxu.zhang at usc.edu (Panxu Zhang) Date: Thu, 26 Aug 2010 15:50:52 +0800 Subject: [SAC-HELP] lacking GCARC, EVDP, EVLA, EVLO header infornmation and relative time when using rdseed -dpf In-Reply-To: References: Message-ID: Hi all, My SAC files 1) lost GCARC, EVDP, EVLA, EVLO header information; 2) time appears to be absolute instead of relative(B = 0.000000e+00) when I used "rdseed -dpf" to extract SAC from seed. What should I do to get those above header informations? I used JWEEDv3.12 to get the seed files. Thank you in advance!! Panxu -------------- next part -------------- An HTML attachment was scrubbed... URL: From nalarifi at ksu.edu.sa Thu Aug 26 07:39:34 2010 From: nalarifi at ksu.edu.sa (Nassir Alarifi) Date: Thu, 26 Aug 2010 17:39:34 +0300 Subject: [SAC-HELP] help ubuntu Message-ID: <9F6011D663B5F24D9C69EE23391B6212056883428793@KSUVMB01.KSU.LOCAL> how to install SAC on the UBUNTU LINUX??? Help needed? best Prof. Dr. Nassir S. N. Al-Arifi Dean of Al Quway'iyah Community College King Saud University P.O. Box 2455, Riyadh 11451 Tel. 966-1-4676199 & 966-1-4676213 Fax. 966-1-4676214 E-mail: nalarifi at ksu.edu.sa & nalarifi at kacst.edu.sa nalarifi at yahoo.com & nalarifi at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Derek.Schutt at colostate.edu Thu Aug 26 09:22:00 2010 From: Derek.Schutt at colostate.edu (Derek Schutt) Date: Thu, 26 Aug 2010 10:22:00 -0600 Subject: [SAC-HELP] help ubuntu In-Reply-To: <9F6011D663B5F24D9C69EE23391B6212056883428793@KSUVMB01.KSU.LOCAL> References: <9F6011D663B5F24D9C69EE23391B6212056883428793@KSUVMB01.KSU.LOCAL> Message-ID: <4C7694A8.9040207@Colostate.edu> Hi Prof. Al-Arifi, Here's what I do: 1) copy sac to /usr/local 2) extract it: tar zxf sac-101.4-linux_x86_64.tar 3) Add these lines to ~/.bash_profile PATH=$PATH:/usr/local/sac/bin export SACHOME=/usr/local/sac source ${SACHOME}/bin/sacinit.sh 4) For me, I need to change the lines in sacinit.sh and put in "=" so that my base shell (bash) can source these okay. for instance, change *export SAC_DISPLAY_COPYRIGHT 1* to *SAC_DISPLAY_COPYRIGHT=1* same for SAC_USE_DATABASE and SAC_PPK_LARGE_CROSSHAIRS 5) Now source your .bash_profile: *source ~/.bash_profile* and then type "sac" and you should be all set. Best Regards, Derek On 08/26/2010 08:39 AM, Nassir Alarifi wrote: > how to install SAC on the UBUNTU LINUX??? > Help needed? > best > /*Prof. Dr. Nassir S. N. Al-Arifi*/ > /*Dean of Al Quway'iyah Community College*/ > /*King Saud University*/ > /*P.O. Box 2455, Riyadh 11451*/ > /*Tel. 966-1-4676199 & 966-1-4676213*/ > /*Fax. 966-1-4676214*/ > E-mail: nalarifi at ksu.edu.sa & nalarifi at kacst.edu.sa > > nalarifi at yahoo.com & nalarifi at gmail.com > > > _______________________________________________ > sac-help mailing list > sac-help at iris.washington.edu > http://www.iris.washington.edu/mailman/listinfo/sac-help -- -------------------- Derek Schutt Assistant Professor Departpment of Geosciences 309 Natural Resources Building Campus Delivery 1482 Fort Collins, CO 80525-1482 http://warnercnr.colostate.edu/~schutt/CSU_web/index.htm 970-491-5786 -------------- next part -------------- An HTML attachment was scrubbed... URL: From panxu.zhang at usc.edu Thu Aug 26 11:06:06 2010 From: panxu.zhang at usc.edu (Panxu Zhang) Date: Thu, 26 Aug 2010 11:06:06 -0700 Subject: [SAC-HELP] lacking GCARC, EVDP, EVLA, EVLO header infornmation and relative time Message-ID: Hi all, I am not sure whether I have successfully sent this email before but I really need someone to help. My SAC files 1) lost GCARC, EVDP, EVLA, EVLO header information; 2) time appears to be absolute instead of relative(B = 0.000000e+00) when I used "rdseed -dpf" to extract SAC from seed. What should I do to get those above header informations? I used JWEEDv3.12 to get the seed files and rdseed 5.0 to extract. Thank you in advance!! Panxu -------------- next part -------------- An HTML attachment was scrubbed... URL: From snoke at vt.edu Thu Aug 26 12:35:12 2010 From: snoke at vt.edu (Arthur Snoke) Date: Thu, 26 Aug 2010 15:35:12 -0400 (EDT) Subject: [SAC-HELP] lacking GCARC, EVDP, EVLA, EVLO header infornmation and relative time In-Reply-To: References: Message-ID: Your earlier message did get delivered, but I do not use JWEED so did not respond. I assume you have no event information (you did not mention BAZ and AZ, but I am guessing they are not there). In general you should incude information about platform and SAC version, but I doubt those are relevant for your problem. Hopefully someone who uses your kind of processing can comment, but I suggest you try a sample event file that you access using a different method and make sure your calls to RDSEED are as they should be. On Thu, 26 Aug 2010, Panxu Zhang wrote: > Hi all, > > I am not sure whether I have successfully sent this email before but I > really need someone to help. > > My SAC files 1) lost GCARC, EVDP, EVLA, EVLO header information; 2) time > appears to be absolute instead of relative(B = 0.000000e+00) when I used > "rdseed -dpf" to extract SAC from seed. > > What should I do to get those above header informations? > I used JWEEDv3.12 to get the seed files and rdseed 5.0 to extract. > > Thank you in advance!! > > Panxu > > > From rob at iris.washington.edu Thu Aug 26 15:54:08 2010 From: rob at iris.washington.edu (Robert Casey) Date: Thu, 26 Aug 2010 15:54:08 -0700 Subject: [SAC-HELP] lacking GCARC, EVDP, EVLA, EVLO header infornmation and relative time In-Reply-To: References: Message-ID: <75156CC6-ED03-4537-96CA-152EDF578922@iris.washington.edu> Thank you for alerting us to this problem, Panxu. We'll see if we can help you with tracking down the cause. Did you write your SEED files directly from JWEED? Were these miniSEED files or was it full SEED with hypocenter information in the header? -Rob On Aug 26, 2010, at 12:35 PM, Arthur Snoke wrote: > Your earlier message did get delivered, but I do not use JWEED so > did not respond. > > I assume you have no event information (you did not mention BAZ and > AZ, but I am guessing they are not there). > > In general you should incude information about platform and SAC > version, but I doubt those are relevant for your problem. > > Hopefully someone who uses your kind of processing can comment, but > I suggest you try a sample event file that you access using a > different method and make sure your calls to RDSEED are as they > should be. > > On Thu, 26 Aug 2010, Panxu Zhang wrote: > >> Hi all, >> I am not sure whether I have successfully sent this email before >> but I >> really need someone to help. >> My SAC files 1) lost GCARC, EVDP, EVLA, EVLO header information; 2) >> time >> appears to be absolute instead of relative(B = 0.000000e+00) when I >> used >> "rdseed -dpf" to extract SAC from seed. >> What should I do to get those above header informations? >> I used JWEEDv3.12 to get the seed files and rdseed 5.0 to extract. >> Thank you in advance!! >> Panxu >> > _______________________________________________ > sac-help mailing list > sac-help at iris.washington.edu > http://www.iris.washington.edu/mailman/listinfo/sac-help From panxu.zhang at usc.edu Fri Aug 27 11:10:44 2010 From: panxu.zhang at usc.edu (Panxu Zhang) Date: Fri, 27 Aug 2010 11:10:44 -0700 Subject: [SAC-HELP] lacking GCARC, EVDP, EVLA, EVLO header infornmation and relative time In-Reply-To: <97249C3A-282E-4649-BE3F-89BEC11E9CC7@iris.washington.edu> References: <75156CC6-ED03-4537-96CA-152EDF578922@iris.washington.edu> <97249C3A-282E-4649-BE3F-89BEC11E9CC7@iris.washington.edu> Message-ID: Hi Rob, All of the files are lack of header informations. You can start with the smallest one--File:bh1990-1992.26595.seed 1280 KB 8/25/10 3:50:00 PM I used JWEED 3.0 to get seed files and "rdseed -dpf" or "rdseed -d -o 1 -f" "rdseed -df" to extract SAC from seed. SAC version is Version 101.3. Actually, I think that the header should have been completed, right? There may be something wrong with the way I proceed(I used JWEED to generate breq_fast request), which leads to the lost of header information. But I do not know where it is. Thanks!! Hope to hear from you soon! Panxu On Fri, Aug 27, 2010 at 10:14 AM, Robert Casey wrote: > > Thank you Panxu- > > Can you please indicate which of the files you currently have the problem > with? Is it all of them in this directory? > > File:1993-1995.3692.seed > 44736 KB > 8/25/10 > 6:28:00 PM > > File:1999-2000.3918.seed > 144544 KB > 8/25/10 > 4:35:00 PM > > File:1999-2004_seed.15502.seed > 154868 KB > 8/24/10 > 12:38:00 PM > > File:2004-2008.22386.seed > 569636 KB > 8/25/10 > 6:15:00 PM > > File:2009-2010.9433.seed > 444292 KB > 8/24/10 > 4:08:00 PM > > File:2009-2010_seed.7927.seed > 286324 KB > 8/24/10 > 11:43:00 PM > > File:bh1990-1992.26595.seed > 1280 KB > 8/25/10 > 3:50:00 PM > > File:bh1996-1998.16937.seed > 93568 KB > 8/25/10 > 4:21:00 PM > > File:bh2001-2003seed.3055.seed > 393152 KB > 8/25/10 > 3:59:00 AM > > -Rob > > On Aug 26, 2010, at 4:21 PM, Panxu Zhang wrote: > > Rob, > > Thanks very much for your reply!! > I used JWEED to generate breq_fast request to get SEED. I think it is a > full SEED but I am not quite sure. Here is the data: > ftp://ftp.iris.washington.edu/pub/userdata/Panxu_Zhang > Hope to hear from you soon! > > Panxu > > > On Thu, Aug 26, 2010 at 3:54 PM, Robert Casey wrote: > >> >> Thank you for alerting us to this problem, Panxu. We'll see if we >> can help you with tracking down the cause. >> >> Did you write your SEED files directly from JWEED? Were these >> miniSEED files or was it full SEED with hypocenter information in the >> header? >> >> -Rob >> >> >> On Aug 26, 2010, at 12:35 PM, Arthur Snoke wrote: >> >> Your earlier message did get delivered, but I do not use JWEED so did >>> not respond. >>> >>> I assume you have no event information (you did not mention BAZ and AZ, >>> but I am guessing they are not there). >>> >>> In general you should incude information about platform and SAC version, >>> but I doubt those are relevant for your problem. >>> >>> Hopefully someone who uses your kind of processing can comment, but I >>> suggest you try a sample event file that you access using a different method >>> and make sure your calls to RDSEED are as they should be. >>> >>> On Thu, 26 Aug 2010, Panxu Zhang wrote: >>> >>> Hi all, >>>> I am not sure whether I have successfully sent this email before but I >>>> really need someone to help. >>>> My SAC files 1) lost GCARC, EVDP, EVLA, EVLO header information; 2) time >>>> appears to be absolute instead of relative(B = 0.000000e+00) when I used >>>> "rdseed -dpf" to extract SAC from seed. >>>> What should I do to get those above header informations? >>>> I used JWEEDv3.12 to get the seed files and rdseed 5.0 to extract. >>>> Thank you in advance!! >>>> Panxu >>>> >>>> _______________________________________________ >>> sac-help mailing list >>> sac-help at iris.washington.edu >>> http://www.iris.washington.edu/mailman/listinfo/sac-help >>> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From panxu.zhang at usc.edu Fri Aug 27 11:34:16 2010 From: panxu.zhang at usc.edu (Panxu Zhang) Date: Fri, 27 Aug 2010 11:34:16 -0700 Subject: [SAC-HELP] network code for temporary array LARSE stations Message-ID: Hi all, I am looking for the temporary array LARSE stations data that went across the Transverse Ranges in the mid-1990's. Does anyone know the network code and where I can find these data? Thanks! Panxu -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob at iris.washington.edu Fri Aug 27 12:19:41 2010 From: rob at iris.washington.edu (Robert Casey) Date: Fri, 27 Aug 2010 12:19:41 -0700 Subject: [SAC-HELP] network code for temporary array LARSE stations In-Reply-To: References: Message-ID: <8B1A3CEE-3A32-4CAF-A0AD-EF65EB8133DC@iris.washington.edu> Hi Panxu- This is not really a SAC question, but should instead be directed to webmaster at iris.washington.edu . You can find LARSE experiment data references by either going to our homepage www.iris.edu and search for LARSE in the search box at the top right or you can do a search on Assembled Data sets using our SeismiQuery search engine: http://www.iris.edu/SeismiQuery/assembled.phtml or you can go to our metadata browser page (MDA) and do a text 'Find' in your browser for LARSE. http://www.iris.edu/mda Hope that helps. -Rob On Aug 27, 2010, at 11:34 AM, Panxu Zhang wrote: > Hi all, > > I am looking for the temporary array LARSE stations data that went > across the Transverse Ranges in the mid-1990's. > Does anyone know the network code and where I can find these data? > > Thanks! > > Panxu > _______________________________________________ > sac-help mailing list > sac-help at iris.washington.edu > http://www.iris.washington.edu/mailman/listinfo/sac-help From rob at iris.washington.edu Fri Aug 27 14:52:20 2010 From: rob at iris.washington.edu (Robert Casey) Date: Fri, 27 Aug 2010 14:52:20 -0700 Subject: [SAC-HELP] lacking GCARC, EVDP, EVLA, EVLO header infornmation and relative time In-Reply-To: References: <75156CC6-ED03-4537-96CA-152EDF578922@iris.washington.edu> <97249C3A-282E-4649-BE3F-89BEC11E9CC7@iris.washington.edu> Message-ID: Hi Panxu- It appears that the SEED file you got back from BREQ_FAST did not include any hypocenter blockettes. This tells me that perhaps JWEED is not including a .HYPO directive in the request file. (there's also a .SOURCE and .MAGNITUDE that go with it). Indeed, running a quick test with the latest JWEED (3.2), I get a BREQ_FAST file that is properly formed, but lacks any mention of the hypocenter the pick was derived from: .NAME Robert Casey .INST IRIS DMC .EMAIL rob at iris.washington.edu .LABEL CMB.BK.test .PHONE .MEDIA FTP .ALTERNATE MEDIA .ALTERNATE MEDIA .FROM_JWEED .END CMB BK 1993 7 27 23 45 13 1993 7 28 0 1 0 1 * * The event in this case was EVENT: MHDF,1993/07/27 23:49:13.130,40.31,-124.464,8.1,MD/2.9,MD/2.9 The event lines that would go into the BREQ_FAST request would look something like this: .SOURCE ~NEIC PDE~Jul 1993 PDE~National Earthquake Information Center - USGS DOI~ .HYPO ~1993 07 27 23 49 13.130~ 40.31~-124.464~8.1~0~0~0~ .MAGNITUDE ~2.9~MD~ I'll add to our JWEED developer's to-do list to add the user's selected event information to the BREQ_FAST request so that you get origin information in your SEED volume (and hence your SAC file). In the meantime, it is possible for you to add these values to your BREQ_FAST file if you save the request from JWEED, then edit it in a text editor, before mailing it off to IRIS DMC. More information on hypocenters and other BREQ_FAST entries can be found in this web manual: http://www.iris.edu/manuals/breq_fast.htm Thanks for alerting us to this issue. It's something that passed our notice during testing and really should be included as far as I am concerned. -Rob On Aug 27, 2010, at 11:10 AM, Panxu Zhang wrote: > Hi Rob, > > All of the files are lack of header informations. You can start with > the smallest one--File:bh1990-1992.26595.seed > 1280 KB > 8/25/10 > 3:50:00 PM > > I used JWEED 3.0 to get seed files and "rdseed -dpf" or "rdseed -d - > o 1 -f" "rdseed -df" to extract SAC from seed. > SAC version is Version 101.3. > > Actually, I think that the header should have been completed, right? > There may be something wrong with the way I proceed(I used JWEED to > generate breq_fast request), which leads to the lost of header > information. But I do not know where it is. > > Thanks!! > Hope to hear from you soon! > > Panxu > > > On Fri, Aug 27, 2010 at 10:14 AM, Robert Casey > wrote: > > Thank you Panxu- > > Can you please indicate which of the files you currently have the > problem with? Is it all of them in this directory? > > File:1993-1995.3692.seed > 44736 KB > 8/25/10 > 6:28:00 PM > > File:1999-2000.3918.seed > 144544 KB > 8/25/10 > 4:35:00 PM > > File:1999-2004_seed.15502.seed > 154868 KB > 8/24/10 > 12:38:00 PM > > File:2004-2008.22386.seed > 569636 KB > 8/25/10 > 6:15:00 PM > > File:2009-2010.9433.seed > 444292 KB > 8/24/10 > 4:08:00 PM > > File:2009-2010_seed.7927.seed > 286324 KB > 8/24/10 > 11:43:00 PM > > File:bh1990-1992.26595.seed > 1280 KB > 8/25/10 > 3:50:00 PM > > File:bh1996-1998.16937.seed > 93568 KB > 8/25/10 > 4:21:00 PM > > File:bh2001-2003seed.3055.seed > 393152 KB > 8/25/10 > 3:59:00 AM > > -Rob > > On Aug 26, 2010, at 4:21 PM, Panxu Zhang wrote: > >> Rob, >> >> Thanks very much for your reply!! >> I used JWEED to generate breq_fast request to get SEED. I think it >> is a full SEED but I am not quite sure. Here is the data: ftp://ftp.iris.washington.edu/pub/userdata/Panxu_Zhang >> Hope to hear from you soon! >> >> Panxu >> >> >> On Thu, Aug 26, 2010 at 3:54 PM, Robert Casey > > wrote: >> >> Thank you for alerting us to this problem, Panxu. We'll see >> if we can help you with tracking down the cause. >> >> Did you write your SEED files directly from JWEED? Were >> these miniSEED files or was it full SEED with hypocenter >> information in the header? >> >> -Rob >> >> >> On Aug 26, 2010, at 12:35 PM, Arthur Snoke wrote: >> >> Your earlier message did get delivered, but I do not use JWEED so >> did not respond. >> >> I assume you have no event information (you did not mention BAZ and >> AZ, but I am guessing they are not there). >> >> In general you should incude information about platform and SAC >> version, but I doubt those are relevant for your problem. >> >> Hopefully someone who uses your kind of processing can comment, but >> I suggest you try a sample event file that you access using a >> different method and make sure your calls to RDSEED are as they >> should be. >> >> On Thu, 26 Aug 2010, Panxu Zhang wrote: >> >> Hi all, >> I am not sure whether I have successfully sent this email before >> but I >> really need someone to help. >> My SAC files 1) lost GCARC, EVDP, EVLA, EVLO header information; 2) >> time >> appears to be absolute instead of relative(B = 0.000000e+00) when I >> used >> "rdseed -dpf" to extract SAC from seed. >> What should I do to get those above header informations? >> I used JWEEDv3.12 to get the seed files and rdseed 5.0 to extract. >> Thank you in advance!! >> Panxu >> >> _______________________________________________ >> sac-help mailing list >> sac-help at iris.washington.edu >> http://www.iris.washington.edu/mailman/listinfo/sac-help >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kadmiel at bgu.ac.il Sun Aug 29 07:33:23 2010 From: kadmiel at bgu.ac.il (Shahar Shani-Kadmiel) Date: Sun, 29 Aug 2010 17:33:23 +0300 Subject: [SAC-HELP] sgftopdf and the color blue Message-ID: <8C1EEA35-4A5C-4D30-985E-4CA9DC8E2D04@bgu.ac.il> On mac os 10.6.4 sgftopdf version grh-105 (Mar 22 2010 08:06:40) recolors blue lines as black. sgftops works fine. From snoke at vt.edu Sun Aug 29 14:45:50 2010 From: snoke at vt.edu (Arthur Snoke) Date: Sun, 29 Aug 2010 17:45:50 -0400 (EDT) Subject: [SAC-HELP] sgftopdf and the color blue In-Reply-To: <8C1EEA35-4A5C-4D30-985E-4CA9DC8E2D04@bgu.ac.il> References: <8C1EEA35-4A5C-4D30-985E-4CA9DC8E2D04@bgu.ac.il> Message-ID: I am not sure which computer program you are using. The SAC distributed by IRIS is not quite the same as mac sac (grh-105). It is very likely that the .sgf files are not compatible. Is the sgftopdf from gr-104? Or is it from the sgftoeps.csh distributed with SAC (v101.4)? Same question for the sgftops. If you are happy with sgftops, you should be able to write a script (such as sgftoeps.csh) that could make a PDF file, if that is your aim. On Sun, 29 Aug 2010, Shahar Shani-Kadmiel wrote: > On mac os 10.6.4 sgftopdf version grh-105 (Mar 22 2010 08:06:40) > recolors blue lines as black. sgftops works fine.