[SAC-HELP] Re: sacio.a AND reading in blackboard variable files in version 101.1
Brian Savage
savage at uri.edu
Wed Mar 5 12:33:22 PST 2008
Hersh,
The error you are seeing
> SAC> rbbf wndbbf_all
> ERROR 1203: Could not find VARS section
is because the blackboard files you are trying to read into SAC are
in a different byte order than
the machine you are on. The files can be swapped with a little
effort, but being able to read
blackboard variable files of either byte order should be available in
the next release of SAC.
Cheers,
Brian
On Mar 3, 2008, at 12:49 PM , Hersh Gilbert wrote:
> Hi SAC help,
>
> I am having trouble reading in files of blackboard variables in the
> latest version of sac (101.1) that I created in a pervious version
> of sac (100.00). I am running both of these versions of SAC on an
> intel mac.
>
> Here is what I get reading the same file (wndbbf_all) into the two
> versions of SAC
>
> **** first the old version that works:
> /Users/hersh/Desktop/phsii_picked_eves/Event_2007_196_13_08_00 >> /
> Applications/sac_old/bin/sac
> SEISMIC ANALYSIS CODE [03/01/2005 (Version 100.00)]
> Copyright 1995 Regents of the University of California
>
> SAC> rbbf wndbbf_all
> SAC> getbb
> SACERROR = FALSE
> NUMERROR = 0
> SACNFILES = 0
> NFILE = D.149.BK.YBH.Z
> FFILE = D.014.CI.LRL.Z
> .... (it goes on)
>
> **** now the same file in the new version:
> /Users/hersh/Desktop/phsii_picked_eves/Event_2007_196_13_08_00 >> sac
> SEISMIC ANALYSIS CODE [02/05/2008 (Version 101.1)]
> Copyright 1995 Regents of the University of California
>
> SAC> rbbf wndbbf_all
> ERROR 1203: Could not find VARS section
>
> Just looking directly at this file using more in unix, I see that
> the first line looks to start with "VARS"
> VARS^@^@^@^A^@D^@<BF>blackboard ^@<C2>^@^ASACERRORFALSE
> ^@<C2>^@^@NUMERROR0 ^@<C4>^@^@SACNFILES 0 ^@<C2>^@^CNFILE D.
> 149.BK.YBH.Z ^@<C2>^@^CFFILE
> D.014.CI.LRL.Z .... (it goes on)
>
> Has anyone found a way to get these blackboard variable files to
> work with the new version of sac?
>
> I may have also ran into some trouble with the version of sacio.a
> included in this version having some trouble reading header
> variables. I am getting this error in a fortran program that I
> compiled with this library:
> ERROR: Illegal header field name. AZ
> ERROR: Illegal header field name. BAZ
>
>
> Thanks for any help!
> Hersh
>
More information about the sac-help
mailing list