Thread: How to convert waveform records from SAC files to seed files?

Started: 2018-03-11 23:26:50
Last activity: 2018-03-12 04:02:21
Topics: SAC Help
Hello,We have waveform records in SAC format and instrument files. We need seed format for a program.Could you possibly tell us how to convert SAC files to seed files? Thanks in advance.Regards,Shutian


  • Hello Shutian,

    I do not know of any software that will convert SAC and instrument response files to SEED format directly. That is a relatively complex task and usually the poles and zeros files used with SAC are not sufficient to create a full response in SEED format, although it can be done by creating a limited, sensor-only, response.

    If instead, your program can use miniSEED for time series and RESP or dateless SEED for input then more is possible. To convert SAC to miniSEED you can use the sac2mseed converter here:

    https://github.com/iris-edu/sac2mseed/releases

    To convert the instrument responses to RESP or dateless SEED your best bet is probably ObsPy (https://github.com/obspy/obspy/wiki) and will require some coding in Python.

    There also appears to be a SAC poles and zeros file converter to RESP by Brian Savage here: https://github.com/savage13/sacpz2resp. I have not used it and cannot vouch for it's functionality but it might be a place to start.

    regards,
    Chad

    On Mar 11, 2018, at 9:27 AM, Shutian <shutian33<at>yahoo.ca> wrote:

    Hello,
    We have waveform records in SAC format and instrument files. We need seed format for a program.
    Could you possibly tell us how to convert SAC files to seed files? Thanks in advance.
    Regards,
    Shutian

    ----------------------
    SAC Help
    Topic home: http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu

    Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
    Update subscription preferences at http://ds.iris.edu/account/profile/


01:14:13 v.b3198453