Thread: Re: sac-help Digest, Vol 29, Issue 4

Started: 2007-11-28 22:51:09
Last activity: 2007-11-28 22:51:09
Topics: SAC Help
Robert Herrmann
2007-11-28 22:51:09
sac-help-request<at> wrote:

Tim: I do not know if this response will get back to the mailing list -
so you get a copy

If the data stream should be modified to have doubles for the data, we
should also consider doubles for the SAC float header values - One
CANNOT pick time correctly at 23:59:59 for 200 Hz data sets (I know this
is extreme) is the continuous data stream starts at 00:00:00 - the
seven digit accuracy of floating point is exceeded

One would just need to redefine a new header version - I believe tha
tthe current header is at version 7

Given a define change, gsac would have it implemented in about one hour.
Internally gsac uses doubles for the float header values.

Send sac-help mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of sac-help digest..."

Today's Topics:

1. Double Precision (Tim Ahern)


Message: 1
Date: Wed, 28 Nov 2007 11:41:39 -0800
From: Tim Ahern <tim<at>>
Subject: [SAC-HELP] Double Precision
To: sac-help<at>
Cc: Doug Neuhauser <doug<at>>, Robert Uhrhammer
<bob<at>>, Chris Laughbon <chris<at>>,
Charley Weiland <cweiland<at>>
Message-ID: <6741618B-B4D7-426A-BA46-F2294E89B7D1<at>>
Content-Type: text/plain; charset="us-ascii"


We have a question for the SAC users group. Recently a need to
support double precision floating point for data in SEED format has
been identified.
While SEED itself can support this, the problem comes with possible
output formats the rdseed program should support. The most widely used
format is SAC format in our estimation.

Our question is, is it possible for SAC to support double precision
floating point values without loosing precision? Would it be
extremely difficult to
add double precision support for SAC? Even if SAC can not support
the format, would it make sense to have a double precision version of
the SAC Format, if
you understand what I mean by that.

One further question is, assuming that SAC and SAC format are not
ready for double precision and it would be difficult to support it...
what new format do you think we might consider supporting as an
output format for rdseed? Do any of you have suggestions as to
possible ways to deal with double precision floats as an output

Thanks for any help you can provide us.


Program Manager, IRIS Data Management System
1408 NE 45th Street #201
Seattle, WA 98105

(206)547-0393 x118
(206) 547-1093 FAX

-------------- next part --------------
An HTML attachment was scrubbed...


sac-help mailing list

End of sac-help Digest, Vol 29, Issue 4

Robert B. Herrmann
Otto W. Nuttli Professor of Geophysics
Department of Earth and Atmospheric Sciences
Saint Louis University
O'Neil Hall, Room 203
3642 Lindell Boulevard
St. Louis, MO 63108

TEL: 314 977 3120
FAX: 314 977 3117
Email: rbh<at>

12:01:18 v.f0c1234e