Network

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

Bases: object

A seismic network.

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

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

  • type (str) – The type of the network.

  • 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 network is assigned to.

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

Methods

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

Initialize the instance.

add_station(station)

Add a station to the network.

as_dict([style])

Get a dictionary representation of the instance.

from_dict(d)

Create a network from a dictionary.

get_station(**kwargs)

Get a station from the network.

merge(merge_network)

Merge a network with the existing.

remove_station(name, location)

Remove a station from the network.

remove_station_by_instance(station_to_remove)

Remove a station instance from the network.

Inheritence diagram

Inheritance diagram of mss_dataserver.geometry.inventory.Network