obspy.db.indexer.WaveformFileCrawler¶
- class WaveformFileCrawler[source]¶
Bases: builtins.object
A waveform file crawler.
This class scans periodically all given paths for waveform files and collects them into a watch list.
Attributes
__dict__ __doc__ str(object=’‘) -> str __module__ str(object=’‘) -> str __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. 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
__dir__ default dir() implementation __format__ default object formatter __new__ Create and return a new object. __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().