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:
StringChoiceAny
strout of['detect', 'datacube', 'hdf5_optodas', 'mseed', 'pyrocko_events', 'pyrocko_stations', 'sac', 'spickle', 'stationxml', 'tdms_idas', 'virtual', 'yaml'].
- class ContentKind(...) str[source]¶
Bases:
StringChoiceAny
strout of['waveform', 'station', 'channel', 'response', 'event'].
- class LocalData(*args, **kwargs)[source]¶
-
A 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.