I want to convert a seismogram to just plus or minus ones, so I use
"abs" to make a second file of absolute values of the seismogram file
and then use "divf" to divide the seismogram file by its absolute
values. This generally works, but on one file I get a fatal error,
specifically SAC error 911. In the online list of SAC errors however,
there isn't an error number 911. Does anyone know what that error is?
Incidentally, it's not that I'm dividing by zero, since the smallest
number in the absolute value file is greater than zero. Also, the file
headers are identical except for depmen and depmin, as one would expect.
Thank you,
Eli Baker
"abs" to make a second file of absolute values of the seismogram file
and then use "divf" to divide the seismogram file by its absolute
values. This generally works, but on one file I get a fatal error,
specifically SAC error 911. In the online list of SAC errors however,
there isn't an error number 911. Does anyone know what that error is?
Incidentally, it's not that I'm dividing by zero, since the smallest
number in the absolute value file is greater than zero. Also, the file
headers are identical except for depmen and depmin, as one would expect.
Thank you,
Eli Baker
-
Dear All -
This arises when decoding a bad Julian date in the file. Zero maybe?
On 17 Apr 2013, at 17:52, Baker, Glenn E Civ USAF AFMC AFRL/RVBYE wrote:
I want to convert a seismogram to just plus or minus ones, so I use “abs” to make a second file of absolute values of the seismogram file and then use “divf” to divide the seismogram file by its absolute values. This generally works, but on one file I get a fatal error, specifically SAC error 911. In the online list of SAC errors however, there isn’t an error number 911. Does anyone know what that error is? Incidentally, it’s not that I’m dividing by zero, since the smallest number in the absolute value file is greater than zero. Also, the file headers are identical except for depmen and depmin, as one would expect.
George Helffrich
Thank you,
Eli Baker
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
george.helffrich<at>bris.ac.uk
-
Thank you,
That was it. The file was from Julian day 1, kztime was zero, and the begin
time was a very small negative number. I changed the begin time to zero and
now it works. Much appreciation as I would never have guessed that one.
Cheers,
Eli
-----Original Message-----
From: George Helffrich [george.helffrich<at>bristol.ac.uk]
Sent: Wednesday, April 17, 2013 11:09 AM
To: Baker, Glenn E Civ USAF AFMC AFRL/RVBYE
Cc: sac-help<at>iris.washington.edu
Subject: Re: [SAC-HELP] SAC error 911
Dear All -
This arises when decoding a bad Julian date in the file. Zero maybe?
On 17 Apr 2013, at 17:52, Baker, Glenn E Civ USAF AFMC AFRL/RVBYE wrote:
I want to convert a seismogram to just plus or minus ones, so I use
"abs" to make a second file of absolute values of the seismogram file and
then use "divf" to divide the seismogram file by its absolute values. This
generally works, but on one file I get a fatal error, specifically SAC error
911. In the online list of SAC errors however, there isn't an error number
911. Does anyone know what that error is? Incidentally, it's not that I'm
dividing by zero, since the smallest number in the absolute value file is
greater than zero. Also, the file headers are identical except for depmen
and depmin, as one would expect.
Thank you,
Eli Baker
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
George Helffrich
george.helffrich<at>bris.ac.uk
Attachments
-