obspy.core.inventory.util.Site¶
- class Site(name, description=None, town=None, county=None, region=None, country=None)[source]¶
Bases: obspy.core.util.base.ComparingObject
- From the StationXML definition:
- Description of a site location using name and optional geopolitical boundaries (country, city, etc.).
Attributes
__dict__ __doc__ str(object=’‘) -> str __hash__ __module__ str(object=’‘) -> str __weakref__ list of weak references to the object (if defined) 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 __init__ type name: 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 __str__ __subclasshook__ Abstract classes can override this to customize issubclass().