A forum for SAC users to exchange ideas and ask questions about SAC usage, installation, portability, etc.
This mailing list has moved to https://groups.google.com/a/earthscope.org/g/sac-community.
Active Message Threads for March 2013
Dear List members. I am a new user of SAC. I have faced some problems during SAC installation. I am using CYGWIN on Win7 64 bit. after doing untar and installing following tools for CYGWIN, I run "configure, make and make install". Devel: * gcc-g++ * libncurses-devel * make * readline Libs: * sunrpc X11: * xorg-x11-devel then I typed X, a blank window was appeared on my screen where I couldn't write anything. I was expecting it should be SAC. but I cannot do anything i… [more]
Hello, Is there a command in SAC to plot N seismograms (let's say 10) at a time out of M (let's say 100)? So with this I would get 10 displays of 10 waveforms. Thanks! Igor
2013-03-26 05:34:44 - 2013-03-27 05:57:48
Hi, There is a small bug of command traveltime. Run traveltime like below, SAC> fg seis SAC> traveltime MODEL IASP91 PICK 0 PHASE Pn Sn traveltime: depth: 15.000000 km Error: can't find iaspmodel header file "/opt/sac/aux/tables/IASP91.hed" SAC itself is case insensitive，but Linux is case sensitive. This command tries to look for an auxiliary file in Linux, so the model names, iasp91 and ak135, should be in lower case. The document of traveltime says, INPUT ----- :MODEL: IASP91 [default]… [more]
2013-03-21 00:42:42 - 2013-03-22 23:36:28
I am working on a local magnitude project and I am having a hard time with the WA correction. I am using the evalresp option and the response file which I downloaded from the IRIS website. My code is as follows: r ASTN* trans from evalresp fname RESP.ASTN.ET to wa I have a few questions: What are the units of the Wood-Anderson correction? I am getting conflicting answers. Also, I know there is a constant which is important, but is that constant found/calculated when I use the evalresp op… [more]
Re: Wood-Anderson Response - Sheila Peacock - 2013-03-22 23:36:28
Hi everybody, I am trying to write over one sac file, but the LOVROK is FALSE. When I try to use "r $sac_file; chnhdr LOVROK TURE; write append .OK" or "r $sac_file; chnhdr LOVROK 1; write append .OK", they both don't work. Does anybody know why? Thanks in advance! Liping Fan
2013-03-20 21:05:31 - 2013-03-20 21:27:01
Dear all, can someone tell me whether there is a correction for earth ellipticity when the epicentre-station distance and azimuth are worked out by SAC for various purposes? Thanks. Sheila Peacock Blacknest.
2013-03-19 21:53:34 - 2013-03-20 17:36:54
2013-03-13 21:34:45 - 2013-03-15 14:42:12
Hi SAC help, I have a macro which tells SAC to run an executable. This executable requires input. The macro as I was given it is structured as follows: echo on rh *.?[LH]? setbb dp &1,evdp setbb del &1,gcarc $run /space3/cms78/scripts/unpacking_preprep/src/ttimes P <------ input into the executable S %dp %del -10 -10 <------input ends $endrun quit Running this macro produces a segmentation fault on my version of SAC (101.4 64 bit Ubunt… [more]
2012-03-31 17:03:04 - 2013-03-14 21:36:40
Attempting to compile sac-101.5c using gcc version i686-apple-darwin11-llvm-gcc-4.2 under Macos 10.7,3, I get a series of compiler errors stemming from the following code in hdr.h I want to compile this so I can run SAC under the debugger to track down problems. gcc -DHAVE_CONFIG_H -I. -I../inc -I../inc -I../libedit/include -DDOINITS -c ./dff/hdrfld.c -o dff/hdrfld_io.o In file included from ./dff/hdrfld.c:12: ../inc/hdr.h:287: error: initializer element is not constant ../inc/hdr… [more]
Re: gcc compiler error under MacOs 10.7.3 and 10.8.2 - Hongfeng Yang - 2013-03-14 21:36:40
Hi all I'm trying to located a large number of events using hypoinverse. Each event directory contains a number of .sac files with the picks etc. contained in it. I would like to access the pertinent header information and write it to a hypoinverse phase input file. I realize there are ohpf/whpf/chpf commands and the ability to write picks to a hypoinverse file during plotppk, but given the number of events, I would like to automate the task by either a macro or a stand-alone program (sac2hypo… [more]
2013-03-04 21:25:53 - 2013-03-05 04:11:09
Hi everybody, May be somebody can help whit this... I the professor Ammon' note, there is a sac macro, and there is a line wich says "rh $1$.LHZ", i dont understand what does it mean!! fileid l ul fileid t l kcmpnm fileid on title on gt s si t qdp 1200 rh $1$.LHZ * * MAKE A NICE TITLE * evaluate to c &1,dist + 0.5 evaluate to r ( INT %c ) setbb rs ( before ’.’ ’ %r ’ ) evaluate to c &1,az + 0.5 evaluate to a1 ( INT %c ) setbb a2 ( before ’.’ ’ %a1 ’ ) title’(concatenate’&1,kstnm’’,r=’ ’%rskm… [more]
Re: sac macros - Milton Plasencia - 2013-03-05 04:11:09
Dear sac users, I have teleseismic events in sac data format and I would like perform deconvolution procedure within the radial and vertical components but I having and strange error I would like to mention here in case someone has come across before. first of all every things looks fine with the data headers all fine. I am seeing NWFID in the header which lead me think about the data converted CSS to SAC. When try to rotate N-S, E-W components with "rotate to" command its rotatin… [more]