obspy.core.inventory.util.DataAvailability¶
- class DataAvailability(start=None, end=None, spans=None)[source]¶
Bases: obspy.core.util.base.ComparingObject
A description of time series data availability. This information should be considered transient and is primarily useful as a guide for generating time series data requests. The information for a DataAvailability (time) span may be specific to the time range used in a request that resulted in the document or limited to the availability of data within the request range. These details may or may not be retained when synchronizing metadata between data centers. Spans of data are represented by a start time, end time, number of segments contained in the span and maximum time tear within a certain span.
Parameters: - start (UTCDateTime) Start of time extent
- end (UTCDateTime) End of time extent
- spans (list of DataAvailabilitySpan) Time spans with detail information
Attributes
__dict__ __doc__ str(object=’‘) -> str __hash__ __module__ str(object=’‘) -> str __weakref__ list of weak references to the object (if defined) spans Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
_repr_pretty_ Special Methods
__dir__ default dir() implementation __eq__ __format__ default object formatter __init__ __ne__ __new__ Create and return a new object. __reduce__ helper for pickle __reduce_ex__ helper for pickle __sizeof__ size of object in memory, in bytes __str__ __subclasshook__ Abstract classes can override this to customize issubclass().