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(string [, encoding[, errors]]) -> object __module__ str(object) -> string __weakref__ list of weak references to the object (if defined) features patterns Public Methods
getFeatures getPatterns hasPattern Checks if the file name fits to the preferred file pattern. iterate Handles exactly one directory. next Private Methods
_delete Remove a file or all files with a given path from the database. _preparePaths _processLogQueue _processOutputQueue _resetWalker Resets the crawler parameters. _select Fetch entry from database. _stepWalker Steps current walker object to the next directory. _update_or_insert Add a new file into or modifies existing file in database. Special Methods
__long__ __native__ Hook for the future.utils.native() function __nonzero__ __unicode__