obspy.core.inventory.util.ExternalReference
- class ExternalReference(uri, description)[source]
Bases:
obspy.core.util.base.ComparingObject
- From the StationXML definition:
This type contains a URI and description for external data that users may want to reference in StationXML.
Special Methods
- ExternalReference.__delattr__(name, /)
Implement delattr(self, name).
- ExternalReference.__dir__()
Default dir() implementation.
- ExternalReference.__eq__(other)
- ExternalReference.__format__(format_spec, /)
Default object formatter.
- ExternalReference.__ge__(value, /)
Return self>=value.
- ExternalReference.__getattribute__(name, /)
Return getattr(self, name).
- ExternalReference.__gt__(value, /)
Return self>value.
- ExternalReference.__init_subclass__()
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- ExternalReference.__le__(value, /)
Return self<=value.
- ExternalReference.__lt__(value, /)
Return self<value.
- ExternalReference.__ne__(other)
- ExternalReference.__new__(**kwargs)
- ExternalReference.__reduce__()
Helper for pickle.
- ExternalReference.__reduce_ex__(protocol, /)
Helper for pickle.
- ExternalReference.__repr__()
Return repr(self).
- ExternalReference.__setattr__(name, value, /)
Implement setattr(self, name, value).
- ExternalReference.__sizeof__()
Size of object in memory, in bytes.
- ExternalReference.__str__()
Return str(self).
- ExternalReference.__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).