A forum for SAC users to exchange ideas and ask questions about SAC usage, installation, portability, etc.
This list has moved to https://groups.google.com/a/earthscope.org/g/sac-community.
- Email address
- sac-help@lists.ds.iris.edu
- Type
-
Help
Help lists are for submitting support questions. Anyone can post a question for NSF SAGE (or another team) to answer.
- Moderated by
- IRIS Webmaster
- Related tags
- SAC Software SAC
September
August
July
June
May
April
March
February
January
August
July
June
May
April
March
February
January
December
November
October
September (1)
August
July
June (4)
May (11)
April (3)
March (5)
February (2)
January (8)
November
October
September (1)
August
July
June (4)
May (11)
April (3)
March (5)
February (2)
January (8)
Active Message Threads for July 2008
Greetings,
Does anyone know how many files a macro can act on in SAC101.1 per run? I
have some 100+ data files and when I try to run my macro it ends up in
segmentation fault. When I reduce the number of files to ~20, the same macro
runs alright.
Thank you !
Januka.
No replies
Hi,
I am attempting to read in sac binary files without using the rsac1 routine in c. My goal is to get the floating point amplitudes into an array, and I am having trouble understanding the correct binary offset in the sac files to get to the amplitudes. The online sac manual states that the "FIRST DATA SECTION" starts at word 158, implying that the following c code should work:
FILE * f;
float fx;
int i;
f=fopen("83.0325.22.27.33.RED.4.sac","r");
fseek(f, 54,SEEK_SET);//jump 54 bytes
…
[more]
Replies
-
Re: SAC reading binary files - Chad Trabant - 2008-07-28 16:26:49
-
Re: SAC reading binary files - Philip Crotwell - 2008-07-28 17:46:31
Greetings,
I want to read in a bunch of SAC files into SAC 101.1 and plot them. As far
as I know SAC will read the first 25 files and plot them. However, when I
read them continuously the number of files that it plots comes down to
something like 4. I believe this is because SAC keeps the files that were
read in earlier in its memory. Is it possible to clear SAC memory and read
in 25 files (max # of files) and plot them every time?
Thank you.
Januka.
Replies
-
Re: sac memory - Brian Savage - 2008-07-14 20:07:59