[SAC-HELP] SAC libraries - more detail & more complication

Fiona Darbyshire f.darbyshire at gmail.com
Mon Mar 10 12:09:57 PDT 2008


Dear All,

I think I have identified the issues regarding the SAC input/output
associated with the cross-correlation program, but that has raised more
questions before I can actually solve the problem.
Some of the libraries called by the program are fairly standard ones that
appear in the regular "sacio.a" (and in Computer Programs in Seismology...)
- namely get*hv, set*hv, rsac*, wsac*. However, there are still 4
outstanding subroutine calls that are a problem.

I downloaded the most recent version of the SAC binaries and source code to
try to track them down. I was able to find 3 of the 4; they are "kidate",
"xapiir" and "getfil". As far as I could understand from the SAC Makefile,
these codes go into "libsac.a" (sac.a?) but not into "sacio.a" and further
reading of the Makefile suggested that "libsac.a" is not installed in the
standard compilation process. The Makefile is orders of magnitude more
complicated than anything I have dealt with before, so could someone help me
with finding out how to install libsac.a so that I can access these three
library subroutines?

The fourth subroutine was "rsach(name,nerr)". This subroutine appears to
exist in the libraries of sac10.6d (I have an old copy but it doesn't work
on my system; I just happened to have kept it) but I have not been able to
find any reference to it in the current version of SAC. Has it been replaced
by something else? If so, what?

Please let me know what I can do to solve this problem; I am working on
somewhat limited time for resolving this issue and hence using the
traveltime code.

Many thanks,

Fiona Darbyshire.

PS. Anyone any idea about my other question - getting SAC files into
PITSA-ASCII?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/sac-help/attachments/20080310/1d5149ec/attachment.html>


More information about the sac-help mailing list