obspy.clients.fdsn.mass_downloader.domain.RectangularDomain

class RectangularDomain(minlatitude, maxlatitude, minlongitude, maxlongitude)[source]

Bases: obspy.clients.fdsn.mass_downloader.domain.Domain

A rectangular domain defined by latitude and longitude bounds.

>>> domain = RectangularDomain(minlatitude=30, maxlatitude=50,
...                            minlongitude=5, maxlongitude=35)

Public Methods

get_query_parameters

is_in_domain

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

Special Methods

RectangularDomain.__delattr__(name, /)

Implement delattr(self, name).

RectangularDomain.__dir__()

Default dir() implementation.

RectangularDomain.__eq__(value, /)

Return self==value.

RectangularDomain.__format__(format_spec, /)

Default object formatter.

RectangularDomain.__ge__(value, /)

Return self>=value.

RectangularDomain.__getattribute__(name, /)

Return getattr(self, name).

RectangularDomain.__gt__(value, /)

Return self>value.

RectangularDomain.__hash__()

Return hash(self).

RectangularDomain.__init__(minlatitude, maxlatitude, minlongitude, maxlongitude)[source]
RectangularDomain.__init_subclass__()

This method is called when a class is subclassed.

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

RectangularDomain.__le__(value, /)

Return self<=value.

RectangularDomain.__lt__(value, /)

Return self<value.

RectangularDomain.__ne__(value, /)

Return self!=value.

RectangularDomain.__new__(**kwargs)
RectangularDomain.__reduce__()

Helper for pickle.

RectangularDomain.__reduce_ex__(protocol, /)

Helper for pickle.

RectangularDomain.__repr__()

Return repr(self).

RectangularDomain.__setattr__(name, value, /)

Implement setattr(self, name, value).

RectangularDomain.__sizeof__()

Size of object in memory, in bytes.

RectangularDomain.__str__()

Return str(self).

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