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__

__hash__

__module__

__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__

Return self==value.

__format__

Default object formatter.

__init__

type name

str

__init_subclass__

This method is called when a class is subclassed.

__ne__

Return self!=value.

__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__

Return str(self).

__subclasshook__

Abstract classes can override this to customize issubclass().