Channel¶
-
class
mss_dataserver.geometry.inventory.
Channel
(name, description=None, id=None, agency_uri=None, author_uri=None, creation_time=None, parent_station=None)[source]¶ Bases:
object
A channel of a station.
- Parameters
name (str) – The name of the channel.
description (str) – The description of the channel.
id (int) – The database id of the channel.
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
instanceparent_station (
Station
) – The station to which the channel is assigned to.
- Variables
streams (
list
ofRecorderStream
) – The recorder streams assigned to a channel.
Properties¶
assigned_recorders
list
of str: The unique serial numbers of the assigned recorders.
nslc
tuple
of str: The Network:Station:Location:Channel code.
nslc_string
str: The string representation of the Network:Station:Location:Channel code.
parent_inventory
Inventory
: The inventory containing the channel.
Methods¶
|
Initialize the instance |
|
Add a stream to the channel. |
|
Get a dictionary representation of the instance. |
|
Create a channel from a dictionary. |
|
Get a stream from the channel. |
|
Merge a channel with the existing one. |
|
Remove a stream from the channel. |
|
Remove a stream timebox. |