obspy.db.indexer.WaveformFileCrawler¶
-
class
WaveformFileCrawler
[source]¶ Bases:
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__
__module__
__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. __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. __sizeof__
Size of object in memory, in bytes. __subclasshook__
Abstract classes can override this to customize issubclass().