[SAC-HELP] Blackboard Variables and CUT

Onur Tan Onur.Tan at mam.gov.tr
Sat Mar 8 03:29:51 PST 2008


Hi,

When I use  a blackboard variable as the first parameter of the  cut
command in SAC new version (101.0), 
it gives error.

 I tried this (echo on):
-------------------- 
SAC> setbb a 600
 setbb a 600
SAC> setbb b 700
 setbb b 700
SAC> cut %a %b
 cut %a %b
 ==> cut 600
SAC> r
 r
 WARNING: Start cut greater than stop cut for file 08010_0707_CEV.1
 ERROR 1301: No data files read in.
SAC>
-----------------------------
the cut command do not understand the second variable.


This does also not work:
----
SAC> cut %a 700
 cut %a 700
 ==> cut 600
SAC> r
 r
 WARNING: Start cut greater than stop cut for file 08010_0707_CEV.1
 ERROR 1301: No data files read in.
----
 

But this  works
----
SAC> cut 500 %b
 cut 500 %b
 ==> cut 500 700
SAC> r
 r
SAC> p
 p
----


Do you have any idea?

best regards
Onur Tan 





More information about the sac-help mailing list