[SAC-HELP] sac2ascii
Gene Ichinose
pangea at ispwest.com
Wed May 9 19:11:12 PDT 2007
Its easy to access any sac header or data value directly from the sac
file if you know how to use C

To compile:
gcc -o sac2ascii sac2ascii.c
To run:
./sac2ascii < mysacfile.sac > myasciifile.txt
Output format is:
Column 1 - time in seconds
Column 2 - amplitude
On May 9, 2007, at 5:25 PM, Stanton, Megan wrote:
> Is there a sac2ascii program available to convert my sac wavefiles
> into an ascii format? I'm using SAC on Solaris 5.8.
> Thanks,
>
> Megan Stanton, Seismologist
> Pacific Gas & Electric Company
> Geosciences Dept.
> 245 Market St N4C Rm 418A
> San Francisco, CA 94105
> 415-973-3116 work
> 408-835-3033 cell
> _______________________________________________
> sac-help mailing list
> sac-help at iris.washington.edu
> http://www.iris.washington.edu/mailman/listinfo/sac-help
-------------- next part --------------
Skipped content of type multipart/mixed
More information about the sac-help
mailing list