pyrocko.squirrel.dataset¶
Portable dataset description.
The Dataset
class defines sets of local and remote data-sources to
be used in combination in Squirrel-based programs. By convention,
Squirrel-based programs accept the --dataset
option to read such dataset
descriptions from file. To add a dataset programmatically, to a
Squirrel
instance, use
add_dataset()
.
Functions
|
Read dataset description file. |
Classes
|
Dataset description. |
|
Any |
- class PersistentID(...) str [source]¶
Bases:
StringPattern
Any
str
matching patternre.compile('^[a-zA-Z_][a-zA-Z0-9_]{0,64}$')
.
- class Dataset(*args, **kwargs)[source]¶
Bases:
HasPaths
Dataset description.
- ♦ sources¶
list
ofpyrocko.squirrel.client.base.Source
objects, default:[]
- ♦ operators¶
list
ofpyrocko.squirrel.operators.base.Operator
objects, default:[]
- ♦ comment¶
str
, optional