Can somebody tell me what is wrong with the code:
do file wild *BXZ.sac
setbb vert $file
setbb east'(CHANGE 'BXZ.sac' 'BXE.sac' %vert )'
setbb north '( CHANGE 'BXZ.sac' 'BXN.sac' %vert )'
r %vert %east %north
ERROR interpreting command: setbb east'(CHANGE 'BXZ.sac' 'BXE.sac' %vert
)'
NEED A BLACKBOARD
VALUE ^
ERROR 1016: Terminating execution of macro
do file wild *BXZ.sac
setbb vert $file
setbb east'(CHANGE 'BXZ.sac' 'BXE.sac' %vert )'
setbb north '( CHANGE 'BXZ.sac' 'BXN.sac' %vert )'
r %vert %east %north
ERROR interpreting command: setbb east'(CHANGE 'BXZ.sac' 'BXE.sac' %vert
)'
NEED A BLACKBOARD
VALUE ^
ERROR 1016: Terminating execution of macro
-
Hi,
There's no space between east and '. Also, you might have to get rid of parentheses in the newest version of SAC but try the first suggestion first.
Your script setbb east'(CHANGE 'BXZ.sac' 'BXE.sac' %vert )'
Januka.
_______________
Serenity isn't freedom from the storm, but peace within the storm
Januka Attanayake
Postdoctoral Research Associate
Laboratório de Sismologia
Departamento de Física
Instituto Superior Técnico
Av. Rovisco Pais, 1
1049-001 Lisboa, Portugal
University email: januka.attanayake<at>ist.utl.pt
Home page: http://sites.google.com/site/janukaattanayake/
On Tuesday, December 17, 2013 1:34 AM, Tannistha Maiti <titli<at>vt.edu> wrote:
Can somebody tell me what is wrong with the code:
do file wild *BXZ.sac
setbb vert $file
setbb east'(CHANGE 'BXZ.sac' 'BXE.sac' %vert )'
setbb north '( CHANGE 'BXZ.sac' 'BXN.sac' %vert )'
r %vert %east %north
ERROR interpreting command: setbb east'(CHANGE 'BXZ.sac' 'BXE.sac' %vert )'
NEED A BLACKBOARD VALUE ^
ERROR 1016: Terminating execution of macro
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help