obspy.core.inventory.util.BaseNode¶
- class BaseNode(code, description=None, comments=None, start_date=None, end_date=None, restricted_status=None, alternate_code=None, historical_code=None, data_availability=None, identifiers=None, source_id=None)[source]¶
Bases: obspy.core.util.base.ComparingObject
- From the StationXML definition:
- A base node type for derivation of: Network, Station and Channel types.
The parent class for the network, station and channel classes.
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 historical_code From the StationXML definition: identifiers source_id Public Methods
copy Returns a deepcopy 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). Special Methods
__dir__ default dir() implementation __eq__ __format__ default object formatter __init__ type code: str __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 __subclasshook__ Abstract classes can override this to customize issubclass().