obspy.core.inventory.util.Operator

class Operator(agency, contacts=None, website=None)[source]

Bases: obspy.core.util.base.ComparingObject

An operating agency and associated contact persons. If there are multiple operators, each one should be encapsulated within an Operator object. Since the Contact element is a generic type that represents any contact person, it also has its own optional Agency element.

Attributes

agencies

agency

contacts

Special Methods

Operator.__delattr__(name, /)

Implement delattr(self, name).

Operator.__dir__()

Default dir() implementation.

Operator.__eq__(other)
Operator.__format__(format_spec, /)

Default object formatter.

Operator.__ge__(value, /)

Return self>=value.

Operator.__getattribute__(name, /)

Return getattr(self, name).

Operator.__gt__(value, /)

Return self>value.

Operator.__init__(agency, contacts=None, website=None)[source]
Parameters
  • agency (str) – The agency of the operator.

  • contacts (list of Person, optional) – One or more contact persons.

  • website (str, optional) – The website.

Operator.__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

Operator.__le__(value, /)

Return self<=value.

Operator.__lt__(value, /)

Return self<value.

Operator.__ne__(other)
Operator.__new__(**kwargs)
Operator.__reduce__()

Helper for pickle.

Operator.__reduce_ex__(protocol, /)

Helper for pickle.

Operator.__repr__()

Return repr(self).

Operator.__setattr__(name, value, /)

Implement setattr(self, name, value).

Operator.__sizeof__()

Size of object in memory, in bytes.

Operator.__str__()

Return str(self).

Operator.__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).