Thread: Need_Help

Started: 2018-03-13 03:07:18
Last activity: 2018-03-13 20:02:33
Topics: SAC Help
Sachin Tiwari
2018-03-13 03:07:18
Hi Sac Users,

I need some help. I have three components r, t and z, and SAC macro mtrf
file. When I am running that SAC macro then such type of error coming.

SAC> m mtrf file efam.syn comps r t z phase P
efam.syn.r efam.syn.t efam.syn.z
Unexpected character: if (abs(90 - %temp%)) lt 1
^
ERROR 1016: Terminating execution of macro mtrf
Command line is: if (abs(90 - %temp%)) lt 1

Here, below i have attached those three components r, t and z, and that SAC
macro mtrf file. Can any body suggest me why this error are coming and how
to resolve this? Any help in this regard will really be appreciated.

Thank you.

Regards,
--
*Sachin Kumar *
*Junior Research Fellow (JRF)*
*Dept. of Applied Geophysics*
*Indian Institute of Technology (Indian School of Mines), Dhanbad*
*Jharkhand- 826004, India.*

*Mobile No.:+91-7631056163*
*Email : *
*sachinism15<at>gmail.com , <sachinism15<at>gmail.com> ismsachin<at>outlook.com
<sachinism15<at>gmail.com>*

  • George Helffrich
    2018-03-13 20:02:33
    Dear All -

    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.

    On 12 Mar 2018, at 23:38, Sachin Tiwari <sachinism15<at>gmail.com> wrote:

    Hi Sac Users,

    I need some help. I have three components r, t and z, and SAC macro mtrf file. When I am running that SAC macro then such type of error coming.

    SAC> m mtrf file efam.syn comps r t z phase P
    efam.syn.r efam.syn.t efam.syn.z
    Unexpected character: if (abs(90 - %temp%)) lt 1
    ^
    ERROR 1016: Terminating execution of macro mtrf
    Command line is: if (abs(90 - %temp%)) lt 1

    Here, below i have attached those three components r, t and z, and that SAC macro mtrf file. Can any body suggest me why this error are coming and how to resolve this? Any help in this regard will really be appreciated.

    Thank you.

    Regards,
    --
    Sachin Kumar
    Junior Research Fellow (JRF)
    Dept. of Applied Geophysics
    Indian Institute of Technology (Indian School of Mines), Dhanbad
    Jharkhand- 826004, India.
    Mobile No.:+91-7631056163
    Email : sachinism15<at>gmail.com , ismsachin<at>outlook.com
    <efam.syn.r><efam.syn.t><efam.syn.z><mtrf>
    ----------------------
    SAC Help
    Topic home: http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu

    Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
    Update subscription preferences at http://ds.iris.edu/account/profile/



    George Helffrich
    george<at>elsi.jp


13:39:43 v.22510d55