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(path)

Read dataset description file.

Classes

Dataset(*args, **kwargs)

Dataset description.

PersistentID(...)

Any str matching pattern re.compile('^[a-zA-Z_][a-zA-Z0-9_]{0,64}$').

class PersistentID(...) str[source]

Bases: StringPattern

Any str matching pattern re.compile('^[a-zA-Z_][a-zA-Z0-9_]{0,64}$').

class Dataset(*args, **kwargs)[source]

Bases: HasPaths

Dataset description.

sources

list of pyrocko.squirrel.client.base.Source objects, default: []

operators

list of pyrocko.squirrel.operators.base.Operator objects, default: []

read_dataset(path)[source]

Read dataset description file.