obspy.io.sac.util
SAC module helper functions and data.
Public Functions
Swapping of bytes for provided arrays. |
|
Convert enumerated int values in header dictionary to string values. |
|
Convert enumerated string values in header dictionary to int values. |
|
Get SAC header reference time as a UTCDateTime instance from a SAC header dictionary. |
|
Deal with all the ways to compare byte order string representations. |
|
Merge a primary with a secondary header, reconciling some differences. |
|
Make an ObsPy Stats header dictionary from a SAC header dictionary. |
|
Private Functions
Warning
Private functions are mainly for internal/developer use and their API might change without notice.
Remove null values and whitespace, return a str |
|
Exceptions
Raised if the SAC file is corrupt or if necessary information in the SAC file is missing. |
|
Raised if header has issues. |
|
Raised if header has invalid "nz" times. |
|
Raised if the given SAC file can't be read. |
|
Raised if headers and/or data are not valid. |