DbStation¶
-
class
mss_dataserver.geometry.db_inventory.
DbStation
(orm=None, **kwargs)[source]¶ Bases:
mss_dataserver.geometry.inventory.Station
The database station.
- Parameters
orm (
mss_data_server.geometry.databaseFactory.GeomStation
) – The sqlalchemy table mapper class for the network.- Keyword Arguments
**kwargs – The keyword arguments passed to the __init__ method of the parent class
mss_dataserver.geoemetry.inventory.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.
id
int: The database id.
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. |
|
Create a |
|
Create a |
|
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. |