Thread: xy 2 sac

Started: 2009-09-03 21:36:52
Last activity: 2009-09-05 05:35:25
Topics: SAC Help
Onur Tan
2009-09-03 21:36:52

Dear All,

I need a computer code (fortran, matlab etc.) to convert the ascii time series to SAC format. I would appreciate it if you help me about this problem.

Regards,

Ruhi Saatcilar

TÜBİTAK Marmara Araştırma Merkezi,
Yer ve Deniz Bilimleri Enst.
P.K.21, Gebze-Kocaeli 41470
Tel: 262-6772850, 6772855


  • Jorge Luis de Souza
    2009-09-03 18:17:38

    Hi Tan,

    You can create a SAC macro to convert your ASCII data by using the
    "convert" command.


    Bye,


    Jorge Luis



    Quoting Onur Tan <Onur.Tan<at>mam.gov.tr>:


    Dear All,

    I need a computer code (fortran, matlab etc.) to convert the ascii
    time series to SAC format. I would appreciate it if you help me
    about this problem.

    Regards,

    Ruhi Saatcilar

    TÜBİTAK Marmara Araştırma Merkezi,
    Yer ve Deniz Bilimleri Enst.
    P.K.21, Gebze-Kocaeli 41470
    Tel: 262-6772850, 6772855

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







  • Aladino Govoni
    2009-09-03 20:31:15
    Onur Tan wrote:
    Dear All,

    I need a computer code (fortran, matlab etc.) to convert the ascii time series to SAC format. I would appreciate it if you help me about this problem.

    Hi, some time ago I wrote a c program that takes a column of ascii data
    and produces a binary sac file. You provide additional info like start
    time, sampling rate, etc as options from the command line.
    You can download it from
    ftp://ftp.rm.ingv.it/pub/aladino.govoni/sac/2sac.tar.gz
    I included the linux binary, but it should compile on any platform (hope
    so). There's not much documentation, if you need help, just ask me.

    cheers,
    Aladino
    Regards,

    Ruhi Saatcilar

    TÜBİTAK Marmara Araştırma Merkezi,
    Yer ve Deniz Bilimleri Enst.
    P.K.21, Gebze-Kocaeli 41470
    Tel: 262-6772850, 6772855

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


    --
    Aladino Govoni <aladino.govoni<at>ingv.it>
    Istituto Nazionale di Geofisica e Vulcanologia - INGV
    Via di Vigna Murata, 605 - 00143 ROMA Italy
    Phone: +39-0651860710 Fax: +39-0651860541

    • George Helffrich
      2009-09-03 21:41:49
      Dear All -

      See the documentation for the SAC command READALPHA / READTABLE which
      is designed for this task.

      On 3 Sep 2009, at 14:31, Aladino Govoni wrote:

      Onur Tan wrote:
      Dear All,
      I need a computer code (fortran, matlab etc.) to convert the ascii
      time series to SAC format. I would appreciate it if you help me about
      this problem.
      Hi, some time ago I wrote a c program that takes a column of ascii
      data and produces a binary sac file. You provide additional info like
      start time, sampling rate, etc as options from the command line.
      You can download it from
      ftp://ftp.rm.ingv.it/pub/aladino.govoni/sac/2sac.tar.gz
      I included the linux binary, but it should compile on any platform
      (hope so). There's not much documentation, if you need help, just ask
      me.

      cheers,
      Aladino
      Regards,
      Ruhi Saatcilar
      TÜBİTAK Marmara Araştırma Merkezi,
      Yer ve Deniz Bilimleri Enst.
      P.K.21, Gebze-Kocaeli 41470
      Tel: 262-6772850, 6772855
      _______________________________________________
      sac-help mailing list
      sac-help<at>iris.washington.edu
      http://www.iris.washington.edu/mailman/listinfo/sac-help


      --
      Aladino Govoni <aladino.govoni<at>ingv.it>
      Istituto Nazionale di Geofisica e Vulcanologia - INGV
      Via di Vigna Murata, 605 - 00143 ROMA Italy
      Phone: +39-0651860710 Fax: +39-0651860541
      _______________________________________________
      sac-help mailing list
      sac-help<at>iris.washington.edu
      http://www.iris.washington.edu/mailman/listinfo/sac-help

      George Helffrich
      george<at>geology.bristol.ac.uk



  • Pierre Arroucau
    2009-09-04 16:13:31
    Dear Onur,

    A fortran code called sac2xy can be found on the following webpage:

    http://web.utah.edu/thorne/software.html

    It comes with a module called sac_i_o which contains subroutines that can be used to read and write sac binary files.
    Hope this helps.

    Regards,
    Pierre

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Pierre Arroucau
    Postdoctoral Fellow, Seismology/Earth Physics

    Research School of Earth Sciences
    Mills Road - Jaeger Building, 61
    The Australian National University
    Canberra ACT 0200
    Australia
    T: +61 (0)2 6125 0339
    F: +61 (0)2 6257 2737
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    ----- Original Message -----
    From: Onur Tan <Onur.Tan<at>mam.gov.tr>
    Date: Thursday, September 3, 2009 9:56 pm
    Subject: [SAC-HELP] xy 2 sac
    To: "sac-help<at>iris.washington.edu" <sac-help<at>iris.washington.edu>
    Cc: Ruhi Saatcilar <Ruhi.Saatcilar<at>mam.gov.tr>


    Dear All,

    I need a computer code (fortran, matlab etc.) to convert the
    ascii time series to SAC format. I would appreciate it if you
    help me about this problem.

    Regards,

    Ruhi Saatcilar

    TÜBİTAK Marmara Araştırma Merkezi,
    Yer ve Deniz Bilimleri Enst.
    P.K.21, Gebze-Kocaeli 41470
    Tel: 262-6772850, 6772855

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

    • bekler@boun.edu.tr
      2009-09-05 05:35:25
      MErhaba Onur

      Computer programs in Seismology of HErmann already includes a fortran code that
      converts ascii to sac file.

      Cheers

      Tolga Bekler, Ph.D
      Canakkale Onsekiz Mart University
      Department of Geophysics
      Canakkale Turkey


      Quoting Pierre Arroucau <pierre.arroucau<at>anu.edu.au>:

      Dear Onur,

      A fortran code called sac2xy can be found on the following webpage:

      http://web.utah.edu/thorne/software.html

      It comes with a module called sac_i_o which contains subroutines that can be
      used to read and write sac binary files.
      Hope this helps.

      Regards,
      Pierre

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Pierre Arroucau
      Postdoctoral Fellow, Seismology/Earth Physics

      Research School of Earth Sciences
      Mills Road - Jaeger Building, 61
      The Australian National University
      Canberra ACT 0200
      Australia
      T: +61 (0)2 6125 0339
      F: +61 (0)2 6257 2737
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


      ----- Original Message -----
      From: Onur Tan <Onur.Tan<at>mam.gov.tr>
      Date: Thursday, September 3, 2009 9:56 pm
      Subject: [SAC-HELP] xy 2 sac
      To: "sac-help<at>iris.washington.edu" <sac-help<at>iris.washington.edu>
      Cc: Ruhi Saatcilar <Ruhi.Saatcilar<at>mam.gov.tr>


      Dear All,

      I need a computer code (fortran, matlab etc.) to convert the
      ascii time series to SAC format. I would appreciate it if you
      help me about this problem.

      Regards,

      Ruhi Saatcilar

      TÜBİTAK Marmara Araştırma Merkezi,
      Yer ve Deniz Bilimleri Enst.
      P.K.21, Gebze-Kocaeli 41470
      Tel: 262-6772850, 6772855

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







Page built 10:28:28 | v.b'ea7a92