pyrocko.squirrel.client.local¶
Data-source definition providing access local data.
Classes
|
Any |
|
Any |
|
A collection of local files attachable as a Squirrel data-source. |
- class FileFormat(...) str [source]¶
Bases:
StringChoice
Any
str
out of['detect', 'datacube', 'mseed', 'pyrocko_events', 'pyrocko_stations', 'sac', 'stationxml', 'tdms_idas', 'virtual', 'yaml']
.
- class ContentKind(...) str [source]¶
Bases:
StringChoice
Any
str
out of['waveform', 'station', 'channel', 'response', 'event']
.
- class LocalData(*args, **kwargs)[source]¶
-
A collection of local files attachable as a Squirrel data-source.
- ♦ paths¶
list
ofstr
(pyrocko.has_paths.Path
) objects, default:[]
Directory and file paths to add to the Squirrel instance. See
Squirrel.add()
.
- ♦ kinds¶
list
ofstr
(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.