Recorder

class mss_dataserver.geometry.inventory.Recorder(serial, model, producer, description=None, id=None, parent_inventory=None, author_uri=None, agency_uri=None, creation_time=None)[source]

Bases: object

A seismic data recorder.

Representation of a seismic data recorder which provides a list of data streams.

Parameters
  • serial (str) – The serial number of the recorder.

  • model (str) – The model name or number of the recorder.

  • producer (str) – The name of the producer of the recorder.

  • description (str) – A description of the recorder.

  • id (int) – The database if of the recorder.

  • parent_inventory (Inventory) – The inventory instance containing the recorder.

  • author_uri (string) – The author_uri of the stream.

  • agency_uri (String) – The agency_uri of the stream.

  • creation_time (str or obspy.UTCDateTime) – The creation time of the event. A string that can be parsed by obspy.UTCDateTime or a obspy.UTCDateTime instance

Methods

__init__(serial, model, producer[, …])

Initialize the instance.

add_stream(cur_stream)

Add a stream to the recorder.

get_stream(**kwargs)

Get a stream from the recorder.

merge(merge_recorder)

Merge a recorder with the existing.

pop_stream(**kwargs)

Remove a stream from the recorder.

pop_stream_by_instance(stream)

Remove a component from the sensor using the component instance.

Inheritence diagram

Inheritance diagram of mss_dataserver.geometry.inventory.Recorder