Thread: Convert .sac to .txt

Started: 2020-03-27 20:00:13
Last activity: 2020-03-28 10:31:36
Topics: SAC Help
Guilherme de Melo
2020-03-27 20:00:13
Dears,

Is there a method to convert .sac to .txt files? I have three
components files and I am needing to convert the files to ascii or txt, and
create a single txt file composed for 3 column in sequence Z, N, E with the
amplitudes of each component.

I will be very grateful for your help!

best,
Guilherme

--
Guilherme Weber Sampaio de Melo
Master's seismology research - UFRN/BR

  • Milton Plasencia
    2020-03-28 00:31:20
    Hi,

    There are some software in the web...googling

    But, on sac exits the command "convert", give a look in the help to use
    sac> help convert

    Another option is download sac2ascii on
    https://ds.iris.edu/message-center/thread/245/

    HTH,

    milton



    ************************************
    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 Sat, 28 Mar 2020 at 00:07, GUILHERME De MELO (via IRIS) <
    sac-help<at>lists.ds.iris.edu> wrote:

    Dears,

    Is there a method to convert .sac to .txt files? I have three
    components files and I am needing to convert the files to ascii or txt, and
    create a single txt file composed for 3 column in sequence Z, N, E with the
    amplitudes of each component.

    I will be very grateful for your help!

    best,
    Guilherme

    --
    Guilherme Weber Sampaio de Melo
    Master's seismology research - UFRN/BR

    ----------------------
    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 .
    2020-03-28 10:31:36
    Hi,
    Yes. Use the convert function in SAC. You will have to write a short shell
    script to get the data into your preferred format.
    http://ds.iris.edu/files/sac-manual/commands/convert.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, 28 Mar 2020 at 10:06, GUILHERME De MELO (via IRIS) <
    sac-help<at>lists.ds.iris.edu> wrote:

    Dears,

    Is there a method to convert .sac to .txt files? I have three
    components files and I am needing to convert the files to ascii or txt, and
    create a single txt file composed for 3 column in sequence Z, N, E with the
    amplitudes of each component.

    I will be very grateful for your help!

    best,
    Guilherme

    --
    Guilherme Weber Sampaio de Melo
    Master's seismology research - UFRN/BR

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


Page built 07:33:56 | v.b'ea7a92