obspy.clients.fdsn.mass_downloader.download_helpers.TimeInterval

class TimeInterval(start, end, filename=None, status=None)[source]

Bases: obspy.clients.fdsn.mass_downloader.download_helpers._SlotsEqualityComparisionObject

Simple object representing a time interval of a channel.

It knows the temporal bounds of the interval, the (desired) filename, and the current status of the interval.

Parameters:
  • start (UTCDateTime) – The start of the interval.
  • end (UTCDateTime) – The end of the interval.
  • filename (str) – The filename of the interval.
  • status – The status of the time interval.
  • statusSTATUS

Attributes

__doc__
__hash__
__module__
__slots__
end
filename
start
status

Special Methods

__dir__ Default dir() implementation.
__eq__ Return self==value.
__format__ Default object formatter.
__init__ Initialize self.
__init_subclass__ This method is called when a class is subclassed.
__new__ Create and return a new object.
__reduce__ Helper for pickle.
__reduce_ex__ Helper for pickle.
__repr__ Return repr(self).
__sizeof__ Size of object in memory, in bytes.
__subclasshook__ Abstract classes can override this to customize issubclass().