pyrocko.io.mseed¶
Read/write MiniSEED files (wraps libmseed).
Functions
|
Check that the codes of a trace can be stored in Mini-SEED. |
Exceptions
|
Raised when a code of a trace is too long to be stored in Mini-SEED. |
|
Raised when trying to store a trace with an extra code in Mini-SEED. |
- exception CodeTooLong(*args, **kwargs)[source]¶
Bases:
FileSaveErrorRaised when a code of a trace is too long to be stored in Mini-SEED.
- exception ExtraCodeNotSupported(*args, **kwargs)[source]¶
Bases:
FileSaveErrorRaised when trying to store a trace with an extra code in Mini-SEED.
- check_codes(tr)[source]¶
Check that the codes of a trace can be stored in Mini-SEED.
- Parameters:
tr (
Trace) – Trace to check.- Raises:
CodeTooLongif a code is too long,ExtraCodeNotSupportedif the trace has an extra code.