Thread: Re: The results of your email commands

Started: 2010-12-23 23:28:25
Last activity: 2011-01-05 18:56:02
Topics: SAC Help
Tsitsi Madziwa-Nussinov
2010-12-23 23:28:25
  • Alessandro Pino
    2011-01-05 18:56:02
    Hi Tsitsi,


    I think the simplest way could be to synchronize your files at first.
    This will
    fix a common origin time for all the seismograms, setting the beginning
    time in accordance, with beg=0 for the latest file and beg<0 for
    the others. Then you should write the seismograms on temporary files
    a read them again after setting the cut range from zero to the desired time.


    Ex.:

    r file1.sac file2.sac
    synch
    write change .sac .cut
    cut 0 1000
    r file1.cut file2.cut
    w over


    Regards

    Alessandro





    Def. Quota Tsitsi Madziwa-Nussinov <magreent<at>gmail.com>:


    Hi Sac Users



    I have 2 sac files (examples attached). Their start times are 09:49:50 and
    09:46:43
    I would like to cut off the start times so that both files would start at
    the same time,
    say, the start time of the 9:49:50 file.

    How can I make use of the synchronize and cut commands to achieve this? The
    end
    goal is be able to perform some math on these files with matched times for
    corresponding
    points?

    Thanks.






    ----------------------------------------------------------------

    Il contenuto di questa e-mail e' rivolto unicamente alle persone cui
    e' indirizzato, e puo'
    contenere informazioni la cui riservatezza e' tutelata.
    E' proibita la copia, la divulgazione o l'uso di questo messaggio o
    dell'informazione ivi
    contenuta da chiunque altro che non sia il destinatario indicato.
    Se avete ricevuto questa e-mail per errore, vogliate cortesemente
    comunicarlo immediatamente per telefono, fax o e-mail. Grazie.

    This e-mail is intended only for person or entity to which is
    addressed and may contain
    information that is privileged, confidential or otherwise protected
    from disclosure.
    Copying, dissemination or use of this e-mail or the information herein
    by anyone other than the intended recipient is prohibited.
    If you have received this
    e-mail by mistake, please notify us immediately by telephone, fax or e-mail.
    Thank you.



04:58:21 v.b3198453