obspy.clients.fdsn.mass_downloader.domain.CircularDomain

class CircularDomain(latitude, longitude, minradius, maxradius)[source]

Bases: Domain

A circular domain defined by a center point and minimum and maximum radius from that point in degrees.

>>> domain = CircularDomain(latitude=37.52, longitude=143.04,
...                         minradius=70.0, maxradius=90.0)

Public Methods

get_query_parameters

is_in_domain

Returns True/False depending on the point being in the domain.

Special Methods

CircularDomain.__delattr__(name, /)

Implement delattr(self, name).

CircularDomain.__dir__()

Default dir() implementation.

CircularDomain.__eq__(value, /)

Return self==value.

CircularDomain.__format__(format_spec, /)

Default object formatter.

CircularDomain.__ge__(value, /)

Return self>=value.

CircularDomain.__getattribute__(name, /)

Return getattr(self, name).

CircularDomain.__gt__(value, /)

Return self>value.

CircularDomain.__hash__()

Return hash(self).

CircularDomain.__init__(latitude, longitude, minradius, maxradius)[source]
CircularDomain.__init_subclass__()

This method is called when a class is subclassed.

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

CircularDomain.__le__(value, /)

Return self<=value.

CircularDomain.__lt__(value, /)

Return self<value.

CircularDomain.__ne__(value, /)

Return self!=value.

CircularDomain.__new__(**kwargs)
CircularDomain.__reduce__()

Helper for pickle.

CircularDomain.__reduce_ex__(protocol, /)

Helper for pickle.

CircularDomain.__repr__()

Return repr(self).

CircularDomain.__setattr__(name, value, /)

Implement setattr(self, name, value).

CircularDomain.__sizeof__()

Size of object in memory, in bytes.

CircularDomain.__str__()

Return str(self).

CircularDomain.__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).