Thread: Need-help for error in mtrf macro

Started: 2018-05-31 18:05:28
Last activity: 2018-05-31 18:05:28
Topics: SAC Help
2018-05-31 18:05:28
Dear sac experts
I need some help.I have three components r,t,z and sac macro mtrf file.
When I am running mtrf in sac following error is coming.

SAC> m mtrf file efam.syn comps r t z phase P plot yes pick maybe window
12x 3.0 tables ak125 debug no
efam.syn.r efam.syn.t efam.syn.z
Unexpected characters after IF: if %rt% eq tr
ERROR 2703: Can't evaluate logical expression:
ERROR 1016: Terminating execution of macro mtrf
Command line is: if %rt% eq tr

I got below solution form sac but i am new to this, so unable to understand
the following solution.

SAC is reporting a syntax error in the mtrf macro.

It appears that the offending line of the macro included in your message is
different from the text available from other distributed sources. I suggest
that you go back to the original source and compare it to your own to see
where the problem lies and how to fix it.

So please help me in this issue.
Thank you.

Research scholar
Dept of earth sciences
Indian Institute of Technology Bombay.

Page built 11:47:30 | v.090361a2