DbChannel¶
-
class
mss_dataserver.geometry.db_inventory.
DbChannel
(orm=None, **kwargs)[source]¶ Bases:
mss_dataserver.geometry.inventory.Channel
The database channel.
- Parameters
orm (
mss_data_server.geometry.databaseFactory.GeomChannel
) – The sqlalchemy table mapper class for the channel.- Keyword Arguments
**kwargs – The keyword arguments passed to the __init__ method of the parent class
mss_dataserver.geoemetry.inventory.Channel
.
Properties¶
assigned_recorders
list
of str: The unique serial numbers of the assigned recorders.
id
int: The database id.
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. |
|
Create a |
|
Create a |
|
Get a stream from the channel. |
|
Merge a channel with the existing one. |
|
Remove a stream from the channel. |
|
Remove a stream timebox. |