Thread: Filling SAC headers

Started: 2014-05-24 19:04:52
Last activity: 2014-05-25 04:47:16
Topics: SAC Help
Kian Rady
2014-05-24 19:04:52
Hello Sac users

I am a sac beginner. I have a sac seismogram. The header of file is:

……….
NPTS = 1326
B = 3.735695e+02
E = 1.698569e+03
IFTYPE = TIME SERIES FILE
LEVEN = TRUE
DELTA = 1.000000e+00
IDEP = UNKNOWN
DEPMIN = -1.549182e-03
DEPMAX = 1.978065e-02
DEPMEN = 1.464839e-05
OMARKER = 0
AMARKER = 509.66
T0MARKER = 920.7
T1MARKER = 920.7
KZDATE = APR 16 (106), 2013
KZTIME = 10:44:20.750
IZTYPE = EVENT ORIGIN TIME
………..

I should fill the header such that the O and B markers are filled RELATIVE to KZTIME. So how should I do that?

TanX
Kian





  • Milton Plasencia
    2014-05-25 04:47:16
    Hi,

    for O (Origin time) you can do:

    sac> ch O gmt 2014 106 10 50 00
    This is an example you must use the origin time of your event.
    format year juilan_day hour minute sec [msec]

    where ch = Change Header command,
    i recommend you see the help
    sac> help ch

    For B, B in sac is the Beginning value of the independent variable.
    Perhaps, you need the synchronize command.

    HTH,

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



    On May 24, 2014, at 9:04 PM, kian rady <kianrady<at>yahoo.com> wrote:

    Hello Sac users

    I am a sac beginner. I have a sac seismogram. The header of file is:

    ……….
    NPTS = 1326
    B = 3.735695e+02
    E = 1.698569e+03
    IFTYPE = TIME SERIES FILE
    LEVEN = TRUE
    DELTA = 1.000000e+00
    IDEP = UNKNOWN
    DEPMIN = -1.549182e-03
    DEPMAX = 1.978065e-02
    DEPMEN = 1.464839e-05
    OMARKER = 0
    AMARKER = 509.66
    T0MARKER = 920.7
    T1MARKER = 920.7
    KZDATE = APR 16 (106), 2013
    KZTIME = 10:44:20.750
    IZTYPE = EVENT ORIGIN TIME
    ………..

    I should fill the header such that the O and B markers are filled RELATIVE to KZTIME. So how should I do that?

    TanX
    Kian




    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


19:35:46 v.9bc884e1