Array

class mss_dataserver.geometry.inventory.Array(name, description=None, author_uri=None, agency_uri=None, creation_time=None, parent_inventory=None)[source]

Bases: object

A seismic array holding multiple stations.

Parameters
  • name (str) – The name of the array.

  • description (str) – The description of the array.

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

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

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

  • parent_inventory (Inventory) – The inventory to which the array is assigned to.

  • stations (list of Station) – The stations assigned to the array.

Methods

__init__(name[, description, author_uri, …])

Initialization of the instance.

add_station(station, start_time, end_time)

Add a station to the array.

get_station([start_time, end_time])

Get a station from the network.

merge(merge_array)

Merge an array with the existing one.

remove_station([start_time, end_time])

Remove a station from the array.

remove_station_by_instance(station_timebox)

Remove a station timebox instance.

Inheritence diagram

Inheritance diagram of mss_dataserver.geometry.inventory.Array