[SAC-HELP] naming files

andreas wessel awbochum at gmail.com
Wed Nov 22 21:47:04 PST 2006


Hi there,

I think you have just a typing error.

- setbb goes together, without a space..
- to take a variable and append something, you have to put the delimiter at
the end of the name of the var, just as you did with the $

setbb name 1234
sc echo %name%567

You didn't post what error msg you get, but I think it is  "Could not find
VARS variable blackboard", because Sac is looking for a variable "name.z"
instead of "name"

good luck
andreas

On 11/23/06, Januka Attanayake <jattanayake at gmail.com> wrote:
>
> 2006.300.33.SDMD.BHZ.R.SAC
>
I want to extract only the 2006.300.33.SDMD part for naming purposes after I
> do certain calculations on it

  set bb name $1$.$STATION$ ?
> w %name.z
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/sac-help/attachments/20061123/cdc42f96/attachment.html>


More information about the sac-help mailing list