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 byobspy.UTCDateTime
or aobspy.UTCDateTime
instance
- Variables
channels (
list
ofChannel
) – The channels assigend to the station.
Properties¶
assigned_recorders
list
ofRecorder
: 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¶
|
Initialize self. |
|
Add a channel to the station |
|
Get a dictionary representation of the instance. |
|
Create a station from a dictionary. |
|
Get a channel from the stream. |
Get the coordinates as WGS84 longitude latitude tuples. |
|
|
DEPRECATED. |
Get a list of unique channel names. |
|
|
Merge a station into the existing one. |
|
Remove a channel instance from the station. |