obspy.mseed.core.MSTG

class MSTG(trace, data, dataquality)[source]

Bases: object

Class that transforms a ObsPy Trace object to a libmseed internal MSTraceGroup struct.

The class works on a Trace instead of a Stream because that way it is possible to write Mini-SEED files with a different encoding per Trace.

The class is mainly used to achieve a clean memory management.

Attributes

__dict__
__doc__ str(object) -> string
__module__ str(object) -> string
__weakref__ list of weak references to the object (if defined)

Public Methods

getMstg Simply returns the mstg.

Special Methods

__del__ Frees the MSTraceGroup struct. Therefore Python garbage collection can
__init__ The init function requires a ObsPy Trace object which will be used to

This Page