Thread: Sac version 101.6 broken

Started: 2013-12-13 08:11:37
Last activity: 2013-12-18 21:45:23
Topics: SAC Help
Tannistha Maiti
2013-12-13 08:11:37
Hello ,

I am using SAC (Version 101.6). For some reason the rh command used inside
a macro with Blackbord variables cannot be used.

* Read files to determine component orientations
rh %files%
==> rh efam.syn.r efam.syn.t efam.syn.z
ERROR 1301: No data files read in.
ERROR 1016: Terminating execution of macro mtrf
Command line is: rh %files%

All these files are present in the folder. Is the version of sac broken.
What is the possible solution?

  • Arthur Snoke
    2013-12-13 15:47:05
    I do not see that behavior in either v101.6 or the current v101.6a

    [macquake:~/unix/sac-stuff/tests] snoke% sac
    SEISMIC ANALYSIS CODE [10/22/2013 (Version 101.6a)]
    Copyright 1995 Regents of the University of California

    SAC> rh demo.sac
    SAC> quit
    [macquake:~/unix/sac-stuff/tests] snoke% sac-101.6
    SEISMIC ANALYSIS CODE [06/12/2013 (Version 101.6)]
    Copyright 1995 Regents of the University of California

    SAC> rh demo.sac
    SAC>

    There were some problems in v101.6 that may have affected your %files%. I suggest you upgrade to the current v101.6a and try again.

    On Dec 13, 2013, at 2:11 AM, Tannistha Maiti wrote:

    Hello ,

    I am using SAC (Version 101.6). For some reason the rh command used inside a macro with Blackbord variables cannot be used.

    * Read files to determine component orientations
    rh %files%
    ==> rh efam.syn.r efam.syn.t efam.syn.z
    ERROR 1301: No data files read in.
    ERROR 1016: Terminating execution of macro mtrf
    Command line is: rh %files%

    All these files are present in the folder. Is the version of sac broken. What is the possible solution?
    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help



    • Tannistha Maiti
      2013-12-17 05:39:44
      Hello,

      I have installed the new version of sac . However the problem of rh still
      exist.


      message "%files%"
      ==> message " efam.syn.r efam.syn.t efam.syn.z"
      efam.syn.r efam.syn.t efam.syn.z

      * Read files to determine component orientations
      rh %files%
      ==> rh efam.syn.r efam.syn.t efam.syn.z
      ERROR 1301: No data files read in.
      ERROR 1016: Terminating execution of macro mtrf
      Command line is: rh %files%

      Could you please help.

      Thanks,
      Tannistha


      On Fri, Dec 13, 2013 at 5:47 AM, Arthur Snoke <snoke<at>vt.edu> wrote:

      I do not see that behavior in either v101.6 or the current v101.6a

      [macquake:~/unix/sac-stuff/tests] snoke% sac
      SEISMIC ANALYSIS CODE [10/22/2013 (Version 101.6a)]
      Copyright 1995 Regents of the University of California

      SAC> rh demo.sac
      SAC> quit
      [macquake:~/unix/sac-stuff/tests] snoke% sac-101.6
      SEISMIC ANALYSIS CODE [06/12/2013 (Version 101.6)]
      Copyright 1995 Regents of the University of California

      SAC> rh demo.sac
      SAC>

      There were some problems in v101.6 that may have affected your %files%. I
      suggest you upgrade to the current v101.6a and try again.

      On Dec 13, 2013, at 2:11 AM, Tannistha Maiti wrote:

      Hello ,

      I am using SAC (Version 101.6). For some reason the rh command used
      inside a macro with Blackbord variables cannot be used.

      * Read files to determine component orientations
      rh %files%
      ==> rh efam.syn.r efam.syn.t efam.syn.z
      ERROR 1301: No data files read in.
      ERROR 1016: Terminating execution of macro mtrf
      Command line is: rh %files%

      All these files are present in the folder. Is the version of sac broken.
      What is the possible solution?
      _______________________________________________
      sac-help mailing list
      sac-help<at>iris.washington.edu
      http://www.iris.washington.edu/mailman/listinfo/sac-help



      • Brian Savage
        2013-12-18 21:45:23
        Dear Tannistha,

        I tried something similar to what you have done using 101.6a

        % cat rhh.m

        echo on
        fg seismo
        write efam.syn.r
        write efam.syn.t
        write efam.syn.z
        setbb files " efam.syn.r efam.syn.t efam.syn.z"
        message "%files%"
        rh %files
        %
        % ./src/sac
        SEISMIC ANALYSIS CODE [11/30/2013 (Version 101.6a)]
        Copyright 1995 Regents of the University of California

        SAC> m rhh.m
        fg seismo
        write efam.syn.r
        write efam.syn.t
        write efam.syn.z
        setbb files " efam.syn.r efam.syn.t efam.syn.z"
        message "%files%"
        ==> message " efam.syn.r efam.syn.t efam.syn.z"
        efam.syn.r efam.syn.t efam.syn.z
        rh %files
        ==> rh efam.syn.r efam.syn.t efam.syn.z
        SAC> getbb sacnfiles
        getbb sacnfiles
        sacnfiles = 3
        SAC>

        Please make sure you are running the latest version of SAC (101.6a). It should be displayed in the copyright notice.

        If you are still experiencing trouble with these commands, please send an example macro.

        Thanks
        Brian Savage

        On Dec 16, 2013, at 11:39 PM, Tannistha Maiti wrote:

        Hello,

        I have installed the new version of sac . However the problem of rh still exist.


        message "%files%"
        ==> message " efam.syn.r efam.syn.t efam.syn.z"
        efam.syn.r efam.syn.t efam.syn.z

        * Read files to determine component orientations
        rh %files%
        ==> rh efam.syn.r efam.syn.t efam.syn.z
        ERROR 1301: No data files read in.
        ERROR 1016: Terminating execution of macro mtrf
        Command line is: rh %files%

        Could you please help.

        Thanks,
        Tannistha


        On Fri, Dec 13, 2013 at 5:47 AM, Arthur Snoke <snoke<at>vt.edu> wrote:
        I do not see that behavior in either v101.6 or the current v101.6a

        [macquake:~/unix/sac-stuff/tests] snoke% sac
        SEISMIC ANALYSIS CODE [10/22/2013 (Version 101.6a)]
        Copyright 1995 Regents of the University of California

        SAC> rh demo.sac
        SAC> quit
        [macquake:~/unix/sac-stuff/tests] snoke% sac-101.6
        SEISMIC ANALYSIS CODE [06/12/2013 (Version 101.6)]
        Copyright 1995 Regents of the University of California

        SAC> rh demo.sac
        SAC>

        There were some problems in v101.6 that may have affected your %files%. I suggest you upgrade to the current v101.6a and try again.

        On Dec 13, 2013, at 2:11 AM, Tannistha Maiti wrote:

        Hello ,

        I am using SAC (Version 101.6). For some reason the rh command used inside a macro with Blackbord variables cannot be used.

        * Read files to determine component orientations
        rh %files%
        ==> rh efam.syn.r efam.syn.t efam.syn.z
        ERROR 1301: No data files read in.
        ERROR 1016: Terminating execution of macro mtrf
        Command line is: rh %files%

        All these files are present in the folder. Is the version of sac broken. What is the possible solution?
        _______________________________________________
        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


01:15:36 v.22510d55