Thread: Help Needed

Started: 2018-05-02 22:09:22
Last activity: 2018-05-03 02:24:40
Topics: SAC Help
Sachin Tiwari
2018-05-02 22:09:22
Dear Friends,

I am looking for your help very urgently. I have a time series with trace
length ranging from -10 seconds to 50 seconds. I need to find the maximum
amplitude value and its index between -5 seconds to 3 seconds.

Please let me know how to perform this operation in SAC. Your help in this
regards will highly be appreciated.

Regards,

--
*Sachin Kumar *
*Junior Research Fellow (JRF)*
*Dept. of Applied Geophysics*
*Indian Institute of Technology (Indian School of Mines), Dhanbad*
*Jharkhand- 826004, India.*

*Mobile No.:+91-7631056163*
*Email : *
*sachinism15<at>gmail.com , <sachinism15<at>gmail.com> ismsachin<at>outlook.com
<sachinism15<at>gmail.com>*

  • Milton Plasencia
    2018-05-02 19:16:25
    Sachim,

    You can do these steps:

    sac> cut -5 3
    sac> r file_to_cut
    sac> w file_cutted
    sac> cut off
    sac> r file_cutted
    sac> lh

    the variable depmax give you the max value in the range -5 3 s.

    HTH,

    M.

    ************************************
    Milton P. PLASENCIA LINARES

    Centro di Ricerche Sismologiche (CRS)
    OGS - Istituto Nazionale di Oceanografia e di Geofisica Sperimentale

    Borgo Grotta Gigante 42/C
    (34010) Sgonico - Trieste - Italia
    Tel: +39 040 2140 156 (Udine)
    Tel: +39 040 2140 256 (Trieste)
    Cel.: +39 331 6481 935

    E-mail: mplasencia<at>inogs.it

    GPG Key: 22FCFFA8

    ASAIN (Antarctic Seismographic Argentinean Italian Network)
    **************************************

    On 2 May 2018 at 11:40, Sachin Tiwari <sachinism15<at>gmail.com> wrote:

    Dear Friends,

    I am looking for your help very urgently. I have a time series with trace
    length ranging from -10 seconds to 50 seconds. I need to find the maximum
    amplitude value and its index between -5 seconds to 3 seconds.

    Please let me know how to perform this operation in SAC. Your help in this
    regards will highly be appreciated.

    Regards,

    --
    *Sachin Kumar *
    *Junior Research Fellow (JRF)*
    *Dept. of Applied Geophysics*
    *Indian Institute of Technology (Indian School of Mines), Dhanbad*
    *Jharkhand- 826004, India.*

    *Mobile No.:+91-7631056163*
    *Email : *
    *sachinism15<at>gmail.com , <sachinism15<at>gmail.com> ismsachin<at>outlook.com
    <sachinism15<at>gmail.com>*


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



  • George Helffrich
    2018-05-03 02:24:40
    Dear All -

    Another option is to use the MARKPTP command, which puts the min and max trace values into header variables T0 and T1 (default; may be changed):

    MTW -5 3
    MARKPTP
    MESSAGE “Min is &1,t0&, Max is &1,t1&”

    See the command documentation for further features.

    On 2 May 2018, at 18:40, Sachin Tiwari <sachinism15<at>gmail.com> wrote:

    Dear Friends,

    I am looking for your help very urgently. I have a time series with trace length ranging from -10 seconds to 50 seconds. I need to find the maximum amplitude value and its index between -5 seconds to 3 seconds.

    Please let me know how to perform this operation in SAC. Your help in this regards will highly be appreciated.

    Regards,

    --
    Sachin Kumar
    Junior Research Fellow (JRF)
    Dept. of Applied Geophysics
    Indian Institute of Technology (Indian School of Mines), Dhanbad
    Jharkhand- 826004, India.
    Mobile No.:+91-7631056163
    Email : sachinism15<at>gmail.com , ismsachin<at>outlook.com

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



    George Helffrich
    george<at>elsi.jp


05:22:17 v.22510d55