Thread: Error Interpreting command: setbb

Started: 2015-01-25 19:36:25
Last activity: 2015-01-26 03:21:08
Topics: SAC Help
Greg Brenn
2015-01-25 19:36:25
Hello,

I am attempting to run a script that needs to set the blackboard variable for the beginning and end of both the east and north components of my files. The macro setup that I’m using is:

foreach sta (`cat stationList`)
sac << EOF

setbb east $sta.BHE
setbb north $sta.BHN

r %east
setbb begE &,B
setbb endE &,E

r %north
setbb begN &,B
setbb endN &,E

getbb TO checkLIST names off newline off begE begN endE endN
quit
EOF


The error that results is :

SEISMIC ANALYSIS CODE [09/04/2008 (Version 101.2)]
Copyright 1995 Regents of the University of California

ERROR 1301: No data files read in.
ERROR interpreting command: setbb begE
NEED A BLACKBOARD VALUE ^
ERROR interpreting command: setbb endE
NEED A BLACKBOARD VALUE ^
ERROR 1301: No data files read in.
ERROR interpreting command: setbb begN
NEED A BLACKBOARD VALUE ^
ERROR interpreting command: setbb endN
NEED A BLACKBOARD VALUE ^


Does anyone understand what the issue may be?

Thank you for your help,

Greg
  • Milton Plasencia
    2015-01-26 03:21:08
    Hi Greg,

    try
    setbb begB &1,B
    setbb endE &1,E
    setbb begN &1,B
    setbb endN &1,E

    HTH,

    M.


    * * * * * * * * * * * * * * * * * * * * * * *
    Milton P. PLASENCIA LINARES

    Centro di Ricerche Sismologiche (CRS)
    OGS - Istituto Nazionale di Oceanografia e di Geofisica Sperimentale

    Borgo Grotta Gigante 42/C
    (34010) Sgonico - Trieste - Italia
    Tel: +39 040 2140 141 (Udine)
    Tel: +39 040 2140 256 (Trieste)
    Cel.: +39 331 6481 935

    E-mail: mplasencia<at>inogs.it

    ASAIN (Antarctic Seismographic Argentinean Italian Network)
    *********************************











    On Jan 25, 2015, at 18:36, Greg Brenn <grbrenn<at>crimson.ua.edu> wrote:

    Hello,

    I am attempting to run a script that needs to set the blackboard variable for the beginning and end of both the east and north components of my files. The macro setup that I’m using is:

    foreach sta (`cat stationList`)
    sac << EOF

    setbb east $sta.BHE
    setbb north $sta.BHN

    r %east
    setbb begE &,B
    setbb endE &,E

    r %north
    setbb begN &,B
    setbb endN &,E

    getbb TO checkLIST names off newline off begE begN endE endN
    quit
    EOF


    The error that results is :

    SEISMIC ANALYSIS CODE [09/04/2008 (Version 101.2)]
    Copyright 1995 Regents of the University of California

    ERROR 1301: No data files read in.
    ERROR interpreting command: setbb begE
    NEED A BLACKBOARD VALUE ^
    ERROR interpreting command: setbb endE
    NEED A BLACKBOARD VALUE ^
    ERROR 1301: No data files read in.
    ERROR interpreting command: setbb begN
    NEED A BLACKBOARD VALUE ^
    ERROR interpreting command: setbb endN
    NEED A BLACKBOARD VALUE ^


    Does anyone understand what the issue may be?

    Thank you for your help,

    Greg
    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


Page built 08:18:36 | v.b'ea7a92