obspy.db.indexer.WaveformFileCrawler

class WaveformFileCrawler[source]

Bases: future.types.newobject.newobject

A waveform file crawler.

This class scans periodically all given paths for waveform files and collects them into a watch list.

Attributes

__dict__
__doc__ unicode(object=’‘) -> unicode object
__module__ str(object=’‘) -> string
__weakref__ list of weak references to the object (if defined)
features
patterns

Public Methods

get_features
get_patterns
has_pattern Checks if the file name fits to the preferred file pattern.
iterate Handles exactly one directory.
next

Private Methods

Warning

Private methods are mainly for internal/developer use and their API might change without notice.

_delete Remove a file or all files with a given path from the database.
_prepare_paths
_process_log_queue
_process_output_queue
_reset_walker Resets the crawler parameters.
_select Fetch entry from database.
_step_walker Steps current walker object to the next directory.
_update_or_insert Add a new file into or modifies existing file in database.

Special Methods

__format__ default object formatter
__long__
__native__ Hook for the future.utils.native() function
__new__
__nonzero__
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__ size of object in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().
__unicode__