[SAC-HELP] sacio.a data size

John D. West JDW at Fodoze.com
Thu Aug 2 09:26:55 PDT 2007

That's great, Phillip!  I thought about doing it either way and wasn't 
sure which was easier.  I appreciate your help and the sample programs.

     -- John

Philip Crotwell wrote:
> Instead of using sacio.a, you might want to just use a simple struct 
> to get the header and read it yourself. By reading the just the 
> header, you get npts and then can do memory allocation yourself. 
> Attached are a .h file that matches the sac header and a simple C 
> program to read and write it. It might be easier than using sacio.a.

More information about the sac-help mailing list