Thread: Waveform stacking

Started: 2017-02-08 23:35:10
Last activity: 2017-02-09 21:03:18
Topics: SAC Help
Abhash Kumar
2017-02-08 23:35:10
Hi,
I posted this question earlier and I was unable to get any feedback. I
am using instrument corrected SAC files (attached) having file type m/s to
create a stacked file. I am using "SUMSTACK" to stack the files as follows:

SAC> r 2016.254.00.45.FARN3.BHE.corrected.bp.SAC
2016.254.00.45.FARN4.BHE.corrected.bp.SAC
2016.254.00.45.FARN5.BHE.corrected.bp.SAC
SAC> sss
Signal Stacking Subprocess.
SAC/SSS> timewindow 0 359.99
SAC/SSS> sumstack normalization on
SAC/SSS> writestack 2016.254.00.45.FARN345.stack.SAC

I checked the header of the stacked file (attached) and the file type is
time series file instead of m/s. Also the time headers such as KZDATE,
KZTIME and IZTYPE that were present in the original SAC files are missing
from the stacked header list. I would be extremely grateful for any
suggestion on how to keep the file type same (m/s) and keep the time header
information (KZDATE, KZTIME, IZTYPE) during stacking.

Best regards
Abhash Kumar

  • George Helffrich
    2017-02-09 21:03:18
    Dear Abhash Kumar -

    There is no requirement that any summed files have the same start time or units; only that they have the same sample rate. Hence keeping IZTYPE, KZTIME and KZDATE is specific to your use. If you need them for further downstream processing, copy them from one of the input files and set them to the summed trace afterward summation using CHNHDR.

    On 9 Feb 2017, at 05:36, Abhash Kumar <abhash.kumar84<at>gmail.com> wrote:

    Hi,
    I posted this question earlier and I was unable to get any feedback. I am using instrument corrected SAC files (attached) having file type m/s to create a stacked file. I am using "SUMSTACK" to stack the files as follows:

    SAC> r 2016.254.00.45.FARN3.BHE.corrected.bp.SAC 2016.254.00.45.FARN4.BHE.corrected.bp.SAC 2016.254.00.45.FARN5.BHE.corrected.bp.SAC
    SAC> sss
    Signal Stacking Subprocess.
    SAC/SSS> timewindow 0 359.99
    SAC/SSS> sumstack normalization on
    SAC/SSS> writestack 2016.254.00.45.FARN345.stack.SAC

    I checked the header of the stacked file (attached) and the file type is time series file instead of m/s. Also the time headers such as KZDATE, KZTIME and IZTYPE that were present in the original SAC files are missing from the stacked header list. I would be extremely grateful for any suggestion on how to keep the file type same (m/s) and keep the time header information (KZDATE, KZTIME, IZTYPE) during stacking.

    Best regards
    Abhash Kumar

    <2016.254.00.45.FARN3.BHE.corrected.bp.SAC><2016.254.00.45.FARN4.BHE.corrected.bp.SAC><2016.254.00.45.FARN5.BHE.corrected.bp.SAC><2016.254.00.45.FARN345.stack.SAC>
    ----------------------
    SAC Help (http://ds.iris.edu/message-center/topic/sac-help/)

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



    George Helffrich
    george<at>elsi.jp


03:59:20 v.9a3bf08e