add_station¶
-
DbArray.
add_station
(station, start_time, end_time, ignore_orm=False)[source]¶ Add a station to the array.
- Parameters
station (
DbStation
) – The station instance to add to the network.start_time (
obspy.core.utcdatetime.UTCDateTime
) – The time from which on the sensor has been operating at the station.end_time (
obspy.core.utcdatetime.UTCDateTime
) – The time up to which the sensor has been operating at the station. “None” if the station is still running.ignore_orm (Boolean) – Control if the component assignment is added to the orm or not. This is usefull when creating an instance from a orm mapper using the from_sqlalchemy_orm class method.