Thread: SAC origin time header change

Started: 2014-05-26 19:37:18
Last activity: 2014-05-26 19:37:18
Topics: SAC Help
reza
2014-05-26 19:37:18
  • Milton Plasencia
    2014-05-26 17:29:05
    Hi Reza,

    Your problem is the dates and times,

    Your original trace begin the record on JAN 01 (001), 1983, 12:06:24.194

    and you want setting an origin time on 1982 123 13 37 10 103,

    so, only for test, sac write the header O, you can not see the mark because it
    is out of the trace time window.

    See the O marker in second header.

    HTH,

    Milton

    FILE: ./1983-01-01-1205-51S.rez___019_TBZ___SP_Z_SAC - 1
    ----------------------------------------------------

    NPTS = 14408
    B = 0.000000e+00
    E = 2.881400e+02
    IFTYPE = TIME SERIES FILE
    LEVEN = TRUE
    DELTA = 2.000000e-02
    DEPMIN = -7.530000e+02
    DEPMAX = 5.900000e+02
    DEPMEN = 4.927818e-03
    KZDATE = JAN 01 (001), 1983
    KZTIME = 12:06:24.194
    KSTNM = TBZ
    CMPAZ = 0.000000e+00
    CMPINC = 0.000000e+00
    STLA = 3.823483e+01
    STLO = 4.614983e+01
    STEL = 1.550000e+03
    LOVROK = TRUE
    NVHDR = 6
    NORID = 0
    NEVID = 0
    LPSPOL = FALSE
    LCALDA = TRUE
    KCMPNM = SP Z
    KNETWK =
    MAG = 0.000000e+00
    SAC> ch O gmt 1982 123 13 37 10 103
    SAC> lh


    FILE: ./1983-01-01-1205-51S.rez___019_TBZ___SP_Z_SAC - 1
    ----------------------------------------------------

    NPTS = 14408
    B = 0.000000e+00
    E = 2.881400e+02
    IFTYPE = TIME SERIES FILE
    LEVEN = TRUE
    DELTA = 2.000000e-02
    DEPMIN = -7.530000e+02
    DEPMAX = 5.900000e+02
    DEPMEN = 4.927818e-03
    OMARKER = -2.099e+07
    KZDATE = JAN 01 (001), 1983
    KZTIME = 12:06:24.194
    KSTNM = TBZ
    CMPAZ = 0.000000e+00
    CMPINC = 0.000000e+00
    STLA = 3.823483e+01
    STLO = 4.614983e+01
    STEL = 1.550000e+03
    LOVROK = TRUE
    NVHDR = 6
    NORID = 0
    NEVID = 0
    LPSPOL = FALSE
    LCALDA = TRUE
    KCMPNM = SP Z
    KNETWK =
    MAG = 0.000000e+00


    Milton P. Plasencia Linares
    mpplasencia<at>gmail.com



    On May 26, 2014, at 10:07 AM, Reza Rezaei <re.rezaei<at>gmail.com> wrote:

    1982 123 13 37 10 103


01:31:41 v.01697673