Station

class mss_dataserver.geometry.inventory.Station(name, location, x, y, z, parent_network=None, coord_system=None, description=None, id=None, author_uri=None, agency_uri=None, creation_time=None)[source]

Bases: object

A seismic station.

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

  • location (str) – The location of the station.

  • x (float) – The x coordinate of the station.

  • y (float) – The y coordinate of the station.

  • z (float) – The z coordinate of the station.

  • parent_network (Network) – The network to which the station is assigned to.

  • coord_system (str) – The coordinate system in which the x/y/z coordinates are given. The coord_system string should be a valid EPSG code.@n See http://www.epsg-registry.org/ to find your EPSG code.

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

  • id (int) – The database id of the station.

  • 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

Variables

channels (list of Channel) – The channels assigend to the station.

Properties

assigned_recorders

list of Recorder: The unique recorders assigned to the station.

assigned_recorders_string

str: The string representation of the unique recorders assigned to the station.

assigned_sensors_string

str: The string representation of the assigned sensor components.

available_channels_string

str: The string representatin of the available channels.

location_string

str: The string representation of the location.

network

Network: The network to which the station is assigend to.

nsl

tuple of str: The Network:Station:Location code.

nsl_string

str: the Network:Station:Location code.

parent_inventory

Inventory: The inventory which contains the station.

Methods

__init__(name, location, x, y, z[, …])

Initialize self.

add_channel(cur_channel)

Add a channel to the station

as_dict([style])

Get a dictionary representation of the instance.

from_dict(d)

Create a station from a dictionary.

get_channel(**kwargs)

Get a channel from the stream.

get_lon_lat()

Get the coordinates as WGS84 longitude latitude tuples.

get_nslc()

DEPRECATED.

get_unique_channel_names()

Get a list of unique channel names.

merge(merge_station)

Merge a station into the existing one.

remove_channel_by_instance(channel)

Remove a channel instance from the station.

Inheritence diagram

Inheritance diagram of mss_dataserver.geometry.inventory.Station