Thread: Change origin time and KZTIME

Started: 2019-05-24 09:58:52
Last activity: 2019-05-25 10:11:37
Topics: SAC Help
Jesse-Lee Dimech
2019-05-24 09:58:52
Hi all,

I work with SAC files for located events with OMARKER set to 0, and so the
KZDATE and KZTIME are the origin time parameters, which I extract and use
for data processing.

Some of my SAC files have slightly different origin times (located using
different numbers of stations), and I want to fix this so it's consistent
across all the sac files for a particular event. And so that OMARKER is 0
and KZDATE and KZTIME reflects the absolute origin time.

Any ideas on how to do this?

  • Milton Plasencia
    2019-05-25 00:05:15
    Hi,

    If I understand correctly, perhaps the sac command synchronize fits what you want.

    To obtain more information do:

    SAC> help synchronize

    HTH,

    Milton

    On 24 May 2019, at 18:30, Jesse-Lee Dimech <jdimech<at>gmail.com> wrote:

    Hi all,

    I work with SAC files for located events with OMARKER set to 0, and so the KZDATE and KZTIME are the origin time parameters, which I extract and use for data processing.

    Some of my SAC files have slightly different origin times (located using different numbers of stations), and I want to fix this so it's consistent across all the sac files for a particular event. And so that OMARKER is 0 and KZDATE and KZTIME reflects the absolute origin time.

    Any ideas on how to do this?

    ----------------------
    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/



  • Geo .
    2019-05-25 10:08:13
    Hi Jesse-Lee,
    These are derived headers. You have to change the original headers to
    change these. See


    Januka Attanayake
    Research Fellow | Earthquake Seismology
    Homepage: *https://sites.google.com/site/janukaattanayake
    https://sites.google.com/site/janukaattanayake*

    School of Earth Sciences | McCoy Bldg. 200
    University of Melbourne | Parkville 3010 VIC
    Australia




    On Sat, 25 May 2019 at 02:30, Jesse-Lee Dimech <jdimech<at>gmail.com> wrote:

    Hi all,

    I work with SAC files for located events with OMARKER set to 0, and so the
    KZDATE and KZTIME are the origin time parameters, which I extract and use
    for data processing.

    Some of my SAC files have slightly different origin times (located using
    different numbers of stations), and I want to fix this so it's consistent
    across all the sac files for a particular event. And so that OMARKER is 0
    and KZDATE and KZTIME reflects the absolute origin time.

    Any ideas on how to do this?

    ----------------------
    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/


  • Geo .
    2019-05-25 10:11:37
    Hi Jesse-Lee,
    These are derived headers. You have to change the original headers to
    change these. See

    KZDATE A Alphanumeric form of GMT reference date. Derived from NZYEAR and
    NZJDAY.
    KZTIME A Alphanumeric form of GMT reference time. Derived from NZHOUR,
    NZMIN, NZSEC, and NZMSEC.

    Also to set OMARKER
    https://ds.iris.edu/files/sac-manual/commands/chnhdr.html

    Januka


    Januka Attanayake
    Research Fellow | Earthquake Seismology
    Homepage: *https://sites.google.com/site/janukaattanayake
    https://sites.google.com/site/janukaattanayake*

    School of Earth Sciences | McCoy Bldg. 200
    University of Melbourne | Parkville 3010 VIC
    Australia




    On Sat, 25 May 2019 at 02:30, Jesse-Lee Dimech <jdimech<at>gmail.com> wrote:

    Hi all,

    I work with SAC files for located events with OMARKER set to 0, and so the
    KZDATE and KZTIME are the origin time parameters, which I extract and use
    for data processing.

    Some of my SAC files have slightly different origin times (located using
    different numbers of stations), and I want to fix this so it's consistent
    across all the sac files for a particular event. And so that OMARKER is 0
    and KZDATE and KZTIME reflects the absolute origin time.

    Any ideas on how to do this?

    ----------------------
    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/


11:04:29 v.22510d55