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:
Object
Specific directory layout within a storage scheme.
- ♦ name¶
str
Name of the layout, informational.
- ♦ time_increment¶
float
Time 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¶
str
Template for file paths.
- class StorageScheme(**kwargs)[source]¶
Bases:
Object
Storage scheme for waveform archive data.
- ♦ name¶
str
Storage scheme name.
- ♦ layouts¶
list
ofStorageSchemeLayout
objects, default:[]
Directory layouts supported by the scheme.
- ♦ min_segments_per_file¶
float
, default:1.0
Target minimum number of segments to be stored in each file.
- ♦ format¶
str
, default:'mseed'
File format of waveform data files.
- ♦ description¶
str
Description of the storage scheme.
- class StorageSchemeChoice(...) str [source]¶
Bases:
StringChoice
Name of a supported storage scheme.