obspy.core.inventory.station.Station

class Station(code, latitude, longitude, elevation, channels=None, site=None, vault=None, geology=None, equipments=None, operators=None, creation_date=None, termination_date=None, total_number_of_channels=None, selected_number_of_channels=None, description=None, comments=None, start_date=None, end_date=None, restricted_status=None, alternate_code=None, historical_code=None, data_availability=None)[source]

Bases: obspy.core.inventory.util.BaseNode

From the StationXML definition:
This type represents a Station epoch. It is common to only have a single station epoch with the station’s creation and termination dates as the epoch start and end dates.

Attributes

__dict__
__doc__ str(object=’‘) -> str
__hash__
__module__ str(object=’‘) -> str
__weakref__ list of weak references to the object (if defined)
alternate_code From the StationXML definition:
code
creation_date
elevation
equipments
external_references
historical_code From the StationXML definition:
latitude
longitude
operators
selected_number_of_channels
termination_date
total_number_of_channels

Public Methods

copy Returns a deepcopy of the object.
get_contents Returns a dictionary containing the contents of the object.
is_active Checks if the item was active at some given point in time (time) and/or if it was active at some point during a certain time range (starttime, endtime).
plot Show bode plot of instrument response of all (or a subset of) the station’s channels.
select Returns the Station object with only the

Private Methods

Warning

Private methods are mainly for internal/developer use and their API might change without notice.

_repr_pretty_

Special Methods

__dir__ default dir() implementation
__eq__
__format__ default object formatter
__getitem__
__init__
type channels:list of Channel
__len__
__ne__
__new__ Create and return a new object.
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__ size of object in memory, in bytes
__str__
__subclasshook__ Abstract classes can override this to customize issubclass().