Thread: Correlate

Started: 2017-09-19 22:15:57
Last activity: 2017-09-20 19:42:33
Topics: SAC Help
Guilherme de Melo
2017-09-19 22:15:57
Hello!

I have a set of nine p-wave data and I would like to know if there is
correlation between it.

Someone would know tell me how I should make using "correlate" command in
the SAC?

Regards,
Guilherme de Melo

  • Leigh House
    2017-09-20 00:31:13
    Guilherme,
    Have you tried using the correlate command? Did it produce results that made sense?

    The range of data that Sac can work with means that you sometimes have to do some tests with your own data to get good results.

    The Sac manual is usually a good resource to start with.

    Unless you can find someone who has time to get familiar with your data, you are likely to be your own best source of help.

    Leigh


    On Sep 19, 2017, at 12:16 PM, GUILHERME De MELO <gwsmelo<at>ufrn.edu.br> wrote:

    Hello!

    I have a set of nine p-wave data and I would like to know if there is correlation between it.

    Someone would know tell me how I should make using "correlate" command in the SAC?

    Regards,
    Guilherme de Melo


    ----------------------
    SAC Help | 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 .
    2017-09-20 19:42:33
    Hi Guilherme,
    Here's a little macro I have to get you going. You have to modify variables
    in the USER INPUT section.

    Januka


    UNSETBB ALL
    *----------USER INPUT------------
    *MF=MASTER FILE; PP=PAUSE PERIOD IN SEC; WC=WILD CARD
    SETBB MF ABC.SAC
    SETBB PP 5
    SETBB WC *.SAC
    *--------------------------------
    DC ALL
    DO FILE WILD %WC
    MESSAGE "Correlating %MF% with $FILE"
    COLOR ON INC ON LIST RED BLUE GREEN
    READ %MF $FILE
    BEGINFRAME
    XVPORT 0.05 1.00
    YVPORT 0.06 0.44
    TITLE 'ORIGINAL FILES: MASTER (TOP) DATA (BOTTOM)'
    PLOT1
    CORRELATE MASTER %MF NORMALIZED
    XVPORT 0.05 1.00
    YVPORT 0.50 0.95
    TITLE 'AUTO (TOP) and CROSS (BOTTOM) CORRELATION'
    PLOT1
    ENDFRAME
    XVPORT 0.05 1.00
    YVPORT 0.05 0.95
    PAUSE PERIOD %PP
    ENDDO

    Januka Attanayake
    Postdoctoral Research Associate

    Institute for Geophysics
    WWU Münster | CorrensstraBe 24 | 48149 Münster | Germany
    Tel +49 251 833 4727

    University email: jattanayake<at>uni-muenster.de
    Homepage: http://sites.google.com/site/janukaattanayake/

    On 19 September 2017 at 20:16, GUILHERME De MELO <gwsmelo<at>ufrn.edu.br>
    wrote:

    Hello!

    I have a set of nine p-wave data and I would like to know if there is
    correlation between it.

    Someone would know tell me how I should make using "correlate" command in
    the SAC?

    Regards,
    Guilherme de Melo


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



09:42:54 v.eb79165e