pyrocko.squirrel.client.local¶
Data-source definition providing access local data.
Classes
|
Choice of Squirrel content kind, e.g. |
|
Choice of file format, one of the formats supported by |
|
A collection of local files attachable as a Squirrel data-source. |
- class FileFormat(...) str[source]¶
Bases:
StringChoiceChoice of file format, one of the formats supported by
pyrocko.squirrel.io, or'detect'for auto-detection.
- class ContentKind(...) str[source]¶
Bases:
StringChoiceChoice of Squirrel content kind, e.g.
'waveform','station','channel','response'or'event'.
- class LocalData(*args, **kwargs)[source]¶
Bases:
SourceA collection of local files attachable as a Squirrel data-source.
- ♦ paths¶
listofstr(pyrocko.has_paths.Path) objects, default:[]Directory and file paths to add to the Squirrel instance. See
Squirrel.add().
- ♦ kinds¶
listofstr(ContentKind) objects, optionalContent kinds to be added to the Squirrel selection. By default all known content kinds are added.
- ♦ include¶
str, optionalIf not
None, files are only included if their paths match the given regular expression pattern.
- ♦ exclude¶
str, optionalIf not
None, files are only included if their paths do not match the given regular expression pattern.
- ♦ format¶
str(FileFormat), default:'detect'Assume files are of given format.