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
-
Help
Help lists are for submitting support questions. Anyone can post a question for IRIS (or another team) to answer.
- Moderated by
- IRIS Webmaster
- Related tags
- SAC Software SAC
Active Message Threads for May 2019
Hello all,
I'm trying to compile a fortran77 program (getsnr.f) which includes some
SAC routines:
PROGRAM getsnr
C
INTEGER npts, nerr
REAL*4 rftn, beg, del, snr
CHARACTER nom*50
C
CALL getarg (1,nom)
CALL rsac1 (nom,rftn,npts,beg,del,1,nerr)
CALL getfhv ('user0',snr,nerr)
C
WRITE (6,*) snr
C
END
As you can see, the code is straightforward. Its only goal is to get the
signal to noise ratio contained in the header of sac fil…
[more]
No replies
Hi all,
I work with SAC files for located events with OMARKER set to 0, and so the
KZDATE and KZTIME are the origin time parameters, which I extract and use
for data processing.
Some of my SAC files have slightly different origin times (located using
different numbers of stations), and I want to fix this so it's consistent
across all the sac files for a particular event. And so that OMARKER is 0
and KZDATE and KZTIME reflects the absolute origin time.
Any ideas on how to do this?
Replies
-
Re: Change origin time and KZTIME - Milton Plasencia - 2019-05-25 00:05:15
-
Re: Change origin time and KZTIME - Geo . - 2019-05-25 10:08:13
-
Re: Change origin time and KZTIME - Geo . - 2019-05-25 10:11:37

2019-05-21 16:26:00
- 2019-05-21 22:57:37
Dear,
I have downloaded data from many events. I need to rotate and remove
instrument response of all of them. I am using sac.
1) Some of the events have the components called BH1 and BH2 (or BH2 and
BH3) instead of BHE and BHN. To rotate, I need to know which one is BHE and
which one BHN. For that, I watched the header information looking for
CMPAZ=90 - CMPINC=90 for East component BHE, and CMPAZ=0 - CMPINC=90 for
North component BHN.
The problem was that in some cases the numbers of the CM…
[more]
Replies
-
Re: problems rotating components and removing instrument response - Milton Plasencia - 2019-05-21 22:57:37
---------- Forwarded message ---------
From: Riddhi Dave <riddhidave6@gmail.com>
Date: Mon, May 13, 2019 at 1:00 PM
Subject: Re: [IRIS][sac-help] Instrument response files
To: Milton Percy Plasencia Linares <mplasencia@inogs.it>
That would definitely work. I am just wondering what is this error about,
since I never faced this issue on a different compiler (ifortran), and now
I'm running the same script with same data on gfortran and with this error.
Best,
On Mon, May 13, 2019 at 12:53 PM M…
[more]
Replies
-
Re: Fwd: Instrument response files - Sheila Peacock - 2019-05-15 09:10:19
-
Re: Fwd: Instrument response files - riddhi dave - 2019-05-15 14:58:37
-
Re: Instrument response files - Brian Savage - 2019-05-15 15:05:43
-
-
Hello, *I am having trouble using the TRANSFER function with the TBSE
Network. I am attaching the .SAC and polezeros file for station GOMA
and a reference station KIBA here if anyone would like to check this
issue out.
* *For example, when I run the following commands,
**SAC> r **1994.231.21.02.45.0258.XD.GOMA..BHZ.M.SAC*
SAC> rmean
SAC> taper
*SAC> TRANSFER FROM POLEZERO S
**SAC_PZs_XD_GOMA_BHZ__1994.153.07.34.00.0000_1995.024.10.54.60.99999
to POLEZERO S **SAC_PZs_XD_KIBA_BHZ__1994.152.13.…
[more]
Replies
-
Re: Instrument response files - Milton Plasencia - 2019-05-13 18:52:57
---------- Forwarded message ---------
From: Riddhi Dave <riddhidave6@gmail.com>
Date: Mon, May 13, 2019 at 1:03 PM
Subject: Re: [IRIS][sac-help] Instrument response files
To: Robert Herrmann <robert.b.herrmann@gmail.com>
Which is true what you are saying in this case. However, even when I use a
different station with a different instrument response, I'm getting the
same error.
Again, this error is appearing in gfortran compiler. However, I never ran
into this error on my previous compiler (i…
[more]
No replies

2019-05-07 09:14:07
- 2019-05-10 10:58:38
Hi,
I did as follows but ı couldn't install sac in Ubuntu. please help me.
Firstly, I put sac files into /home/deprem/soft/sac
Secondly, I modified my sacinit.sh into this following lines ( because the README instructions say: the sacinit file is modified according to that)
export SACHOME=/home/deprem/soft/sac
export PATH=${PATH}:${SACHOME}/bin
export SACAUX=${SACHOME}/aux
Then, I modified my .bashrc file and added the following lines
export SACHOME=/home/deprem/soft/sac
sou…
[more]
Replies
-
Re: ı have a problem install SAC in ubuntu. please help - Milton Plasencia - 2019-05-08 00:19:53
-
Re: ı have a problem install SAC in ubuntu. please help - Sukran Perk - 2019-05-08 09:09:22
-
Re: ı have a problem install SAC in ubuntu. please help - Milton Plasencia - 2019-05-08 12:56:54
-
Re: ı have a problem install SAC in ubuntu. please help - Sukran Perk - 2019-05-10 08:51:15
-
Re: ı have a problem install SAC in ubuntu. please help - Milton Plasencia - 2019-05-10 10:58:38
-
-
-
-
-
Re: ı have a problem install SAC in ubuntu. please help - Geo . - 2019-05-08 08:40:19
-
Re: ı have a problem install SAC in ubuntu. please help - Sukran Perk - 2019-05-08 09:10:15
-
Good day!
I have a problem with installing sac, I have already expanded the
sac-101.6a-linux_x86_64.tar.gz file. I managed to create sac directory. Now
I have a problem with setting up the environmental variables. I tried to
follow the instructions in the readme but i do not get. Kindly assist.
Thank you
Joseph
--
*Joseph Maritinkole*
*Geophysicist (Seismology)*
*Botswana Geoscience Institute*
*Private Bag 14,Lobatse, Botswana*
*Khama 1 Avenue, 1734*
*M: +267 77 576 123 T: +267 5 33…
[more]
Replies
-
Re: SAC Installation problem - Geo . - 2019-05-04 10:31:12
-
Re: SAC Installation problem - Joseph Maritinkole - 2019-05-04 12:11:47
-