Thread: cut command

Started: 2006-10-25 07:00:10
Last activity: 2006-10-25 07:00:10
Topics: SAC Help
Geo .
2006-10-25 07:00:10
Hi,
I've been having a little trouble with SAC cut command lately. Following is
an example script that I use to cut data files,

cut on
r 2006*
cut 75 300
cut off
w f1 f2 f3
r f1 f2 f3
w over

When I read these cut files in & plot them later, the "cut" doesn't come in
to effect. In fact I never could get the files to cut for some reason. It
keeps on plotting the original file instead of the cut file. xlim is much
more effective in this sense but you can't write files on to the disk with
that eh? any suggestions?

Thank you !

Januka.

  • Michael Thorne
    2006-10-25 03:11:48
    Hi Januka, just try

    SAC> cut 75 300
    SAC> r 2006*
    SAC> w f1 f2 f3
    SAC> q

    i.e, use the 'cut' command before reading in the files.

    On Wed, 25 Oct 2006, Januka Attanayake wrote:

    Hi,
    I've been having a little trouble with SAC cut command lately. Following is
    an example script that I use to cut data files,

    cut on
    r 2006*
    cut 75 300
    cut off
    w f1 f2 f3
    r f1 f2 f3
    w over

    When I read these cut files in & plot them later, the "cut" doesn't come in
    to effect. In fact I never could get the files to cut for some reason. It
    keeps on plotting the original file instead of the cut file. xlim is much
    more effective in this sense but you can't write files on to the disk with
    that eh? any suggestions?

    Thank you !

    Januka.


    :-----:-----:-----:-----:-----:-----:-----:-----:-----:-----:-----:
    Michael Thorne
    Post Doctoral Research Fellow
    Geophysical Institute
    University of Alaska Fairbanks
    903 Koyukuk Drive
    P.O. Box 757320
    Fairbanks, AK 99775-7320

    phone: (907) 474-1882
    email: mthorne<at>gi.alaska.edu
    web: http://giseis.alaska.edu/input/mthorne
    :-----:-----:-----:-----:-----:-----:-----:-----:-----:-----:-----:

Page built 04:06:53 | v.b'59d0d2