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__ str(object) -> string
__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.

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.

This Page