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?
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?
-
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
-
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 ,
inside a macro with Blackbord variables cannot be used.
I am using SAC (Version 101.6). For some reason the rh command used
* Read files to determine component orientations
What is the possible solution?
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.
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
-
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
-
-