Thread: RE: MACRO

Started: 2006-06-16 18:46:53
Last activity: 2006-06-21 21:49:59
Topics: SAC Help
Stanton, Megan
2006-06-16 18:46:53

Oops my apologies. Setmacro didn't work for me on a very old version,
0.56a. I hadn't used it on v100. It works fine in v100. Leah what
version are you using?

-----Original Message-----
From: sac-help-bounces<at>iris.washington.edu
[sac-help-bounces<at>iris.washington.edu] On Behalf Of Brian Savage
Sent: Friday, June 16, 2006 11:33 AM
To: sac-help<at>iris.washington.edu
Subject: Re: [SAC-HELP] MACRO

Megan

The setmacro command works fine for me.

The macro command looks first in the current directory, then the
directories defined by setmacro, and finally in the macros directory
like /usr/local/sac/aux/macros.

Could you provide the version of sac you are using and the command
sequence you tried, so we can track down this problem.

Cheers,
Brian


Stanton, Megan wrote:
I also found the setmacro command did not work. However I do know
where SAC looks for the macros so I just put them in there myself. The

only difference in this directory location for you would be the first
two directories in my location. So mine looks like this
/home/sacv100/sac/aux/macros. Put the macros in the macros directory
and make sure they are executable. Also just typing m is shorthand for

macro. Saves a few key strokes.

HTH,
Megan

-----Original Message-----
From: sac-help-bounces<at>iris.washington.edu
[sac-help-bounces<at>iris.washington.edu] On Behalf Of
feigelso<at>rohan.sdsu.edu
Sent: Thursday, June 15, 2006 3:16 PM
To: sac-help<at>iris.washington.edu
Subject: [SAC-HELP] MACRO

Sac-help,

I made a small MACRO file using TextEdit. I put this into my
directory that has saved my practice problems when using SAC
(/usr/local/bin). I saved this small MACRO file as practice. In SAC
I typed:

SAC>MACRO practice

It then says that the MACRO file is not found. I tried the SETMACRO
command but was given the same thing. Does anyone know what I'm doing

wrong?

Thanks for your help,

Leah


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


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

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



  • Matthew R. Agius
    2006-06-21 21:49:59
    Hi once again,

    I have a problem with filtering.

    When i filter a SAC file a get a sor tof a spike in the begining of the
    file.
    How can i eliminate the spike?

    Matthew

    • Frederik Tilmann
      2006-06-21 21:10:01
      This is an edge effect. You must taper amplitudes to zero at the edges
      to avoid. Use the following sequence

      rmean ( or rtrend )
      taper
      bp c ...

      Make sure the signal you are interested in is not too close to the edges

      Frederik


      Matthew R. Agius wrote:
      Hi once again,

      I have a problem with filtering.

      When i filter a SAC file a get a sor tof a spike in the begining of the
      file.
      How can i eliminate the spike?

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







Page built 04:49:34 | v.b'59d0d2