obspy.clients.seedlink.slpacket.SLPacket¶
-
class
SLPacket
(data=None, offset=None)[source]¶ Bases:
object
Class to hold and decode a SeedLink packet.
Variables: - TYPE_SLINFT – Packet type is terminated info packet.
- TYPE_SLINF – Packet type is non-terminated info packet.
- SLTERMINATE – Terminate flag - connection was closed by the server or the termination sequence completed.
- SLNOPACKET – No packet flag - indicates no data available.
- SLERROR – Error flag - indicates server reported an error.
- SLHEADSIZE – SeedLink packet header size.
- SLRECSIZE – Mini-SEED record size.
- SIGNATURE – SeedLink header signature.
- INFOSIGNATURE – SeedLink INFO packet signature.
- ERRORSIGNATURE – SeedLink ERROR signature.
- ENDSIGNATURE – SeedLink END signature.
- slhead – The SeedLink header.
- msrecord – The MiniSEED record.
Attributes
ENDSIGNATURE
ERRORSIGNATURE
INFOSIGNATURE
SIGNATURE
SLERROR
SLHEADSIZE
SLNOPACKET
SLRECSIZE
SLTERMINATE
TYPE_SLINF
TYPE_SLINFT
__dict__
__doc__
__module__
__weakref__
list of weak references to the object (if defined) Public Methods
free_ms_record
get_ms_record
get_sequence_number
get_string_payload
Get the MiniSEED payload, parsed as string. get_trace
get_type
Special Methods
__dir__
Default dir() implementation. __format__
Default object formatter. __init__
Initialize self. __init_subclass__
This method is called when a class is subclassed. __new__
Create and return a new object. __reduce__
Helper for pickle. __reduce_ex__
Helper for pickle. __sizeof__
Size of object in memory, in bytes. __subclasshook__
Abstract classes can override this to customize issubclass().