[SAC-HELP] HELP!
Brian Savage
savage at uri.edu
Tue Jun 22 08:45:02 PDT 2010
Dear Megan
If you could either send me the sac file so I can examine it or run
the following command
% od -d -j 304 filename.sac | head -1
It should output something like this:
0000460 6 0 53191 65535 53191 65535 100 0
The first number you can ignore, but the second number is the version
number, it should be 6 or less.
od is "octal dump", -d indicates a decimal output, and -j is a jump to
a number of bytes in the file. In this case 304 bytes (4 * 76).
Thanks
Brian Savage
savage at uri.edu
On Jun 21, 2010, at 4:44 PM, Arthur Snoke wrote:
>> I'm having a SAC problem. I'm running a program to digitize paper
>> seismograms. My digitization program saves the files I create
>> as .SAC files. I got one digitized and saved it as .SAC but when I
>> tried to read the file into SAC I got the following error:
>>
>> ERROR 1318: Header in disk file is out of date: myfile
>> Header version number is incorrect.
>>
>> Header seems byte-swapped—byte-swap file and retry.
>>
>> I looked up sac help online and I got : http://www.iris.washington.edu/pipermail/sac-help/2010-March/000711.html
>> but that didn't work =( SAC is telling me that sactosac -m is not
>> a valid command. I would really appreciate any help/ideas asap.
>
> When you say you are writing it as a SAC file, what software are you
> using? Also, what version of SAC are you using? The version of SAC
> provided by IRIS (current version 101.4) can read either endian. I
> find that sactosac is a program (not command) in the MACSAC package,
> which is not the same as IRIS SAC. Even though it is no longer
> necessary, IRIS SAC comes with a utility program sacswap that can
> switch endian.
>
> The listed error message for the READ command in SAC are
>
> - 0101: opening file
> - 0108: File does not exist:
> - 0114: reading file
> _______________________________________________
> sac-help mailing list
> sac-help at iris.washington.edu
> http://www.iris.washington.edu/mailman/listinfo/sac-help
More information about the sac-help
mailing list