Thread: cut help

Started: 2015-02-11 07:19:22
Last activity: 2015-02-11 17:29:28
Topics: SAC Help
Satish_iitb
2015-02-11 07:19:22
Hi Everyone,

*Aim is : Cut the trace in given window and apply taper . recover original
trace*

*again but difference is now trace is zero outside the cutting window
without loss any header.*

1) Cut a trace as given window and save without loss of any header
information.
(problem is loss headers)
2) Then add a zeros trace have exact length of original trace in above cut
trace.

Any help or shortcut is very helpful.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Satish Maurya*


* Ph.D. studentDept. of Seismology*
*IPGP, France*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • George Helffrich
    2015-02-11 17:29:28
    Dear Satish Maurya -

    Make a second SAC file with a boxcar of value 1 in the time interval that you want to keep, zero elsewhere. Then use MULF to retain the data in the window. The header information (other than DEPMIN, DEPMAX, DEPMEN) won’t be changed.

    On 11 Feb 2015, at 07:19, satish maurya <maurya2278satish<at>gmail.com> wrote:

    Hi Everyone,

    Aim is : Cut the trace in given window and apply taper . recover original trace
    again but difference is now trace is zero outside the cutting window without loss any header.

    1) Cut a trace as given window and save without loss of any header information.
    (problem is loss headers)
    2) Then add a zeros trace have exact length of original trace in above cut trace.

    Any help or shortcut is very helpful.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Satish Maurya
    Ph.D. student
    Dept. of Seismology
    IPGP, France
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help



    George Helffrich
    george.helffrich<at>bris.ac.uk


09:11:00 v.01697673