pyrocko.squirrel.storage¶
Waveform data storage utilities.
Classes
|
Storage scheme for waveform archive data. |
|
Name of a supported storage scheme. |
|
Specific directory layout within a storage scheme. |
- class StorageSchemeLayout(**kwargs)[source]¶
Bases:
ObjectSpecific directory layout within a storage scheme.
- ♦ name¶
strName of the layout, informational.
- ♦ time_increment¶
floatTime window length stored in each file[s]. Exact or approximate, depending on
time_incement_nonuniform.
- ♦ time_increment_nonuniform¶
str, optionalIdentifier for non-uniform time windows. E.g.
'month'or'year'.
- ♦ path_template¶
strTemplate for file paths.
- class StorageScheme(**kwargs)[source]¶
Bases:
ObjectStorage scheme for waveform archive data.
- ♦ name¶
strStorage scheme name.
- ♦ layouts¶
listofStorageSchemeLayoutobjects, default:[]Directory layouts supported by the scheme.
- ♦ min_segments_per_file¶
float, default:1.0Target minimum number of segments to be stored in each file.
- ♦ format¶
str, default:'mseed'File format of waveform data files.
- ♦ description¶
strDescription of the storage scheme.
- class StorageSchemeChoice(...) str[source]¶
Bases:
StringChoiceName of a supported storage scheme.