[SAC-HELP] How to convert data in .sac format to ascii format ?

Bob Myhill rm438 at cam.ac.uk
Sat Jun 5 04:12:12 PDT 2010


Dear Guarav Dutta,

Please see the documentation on the SAC 'convert' utility (
http://www.iris.edu/manuals/sac/SAC_Commands/convert; the whole manual
available at http://www.iris.edu/manuals/sac/manual.html)

If you wish to convert many files, then you may find it best to create a SAC
macro in order to save time.

Finally, there are various C programs on the internet to read and write SAC
files without calling on SAC itself. Some (untested by myself) are to be
found here:
http://www.eas.slu.edu/Earthquake_Center/CPS/TUTORIAL/SACIO/index.html
If these do not work, I can supply you with my own *.c and *.h files, but I
imagine they are very similar. This final method is undoubtedly quicker at
run time, but it may be more time consuming to code if you only wish to
convert a few files.

Best wishes,
Bob Myhill

__________________________________

Bob Myhill
Department of Earth Sciences
University of Cambridge
Bullard Laboratories
Madingley Rise
Cambridge
CB3 0EZ
United Kingdom
Email: rm438 at cam.ac.uk
__________________________________


On 5 June 2010 11:48, gaurav dutta <gauravdutta23 at gmail.com> wrote:

> Dear Sir,
>
> How to convert data which is in sac format into ascii format ?
>
> _______________________________________________
> sac-help mailing list
> sac-help at iris.washington.edu
> http://www.iris.washington.edu/mailman/listinfo/sac-help
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/sac-help/attachments/20100605/406de35b/attachment.html>


More information about the sac-help mailing list