Dear All,<br><br>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.<br>Some of the libraries called by the program are fairly standard ones that appear in the regular &quot;sacio.a&quot; (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.<br>
<br>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 &quot;kidate&quot;, &quot;xapiir&quot; and &quot;getfil&quot;. As far as I could understand from the SAC Makefile, these codes go into &quot;libsac.a&quot; (sac.a?) but not into &quot;sacio.a&quot; and further reading of the Makefile suggested that &quot;libsac.a&quot; 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?<br>
<br>The fourth subroutine was &quot;rsach(name,nerr)&quot;. This subroutine appears to exist in the libraries of sac10.6d (I have an old copy but it doesn&#39;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?<br>
<br>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.<br><br>Many thanks,<br><br>Fiona Darbyshire.<br><br>PS. Anyone any idea about my other question - getting SAC files into PITSA-ASCII?<br>
<br>