squirrel.model

class WaveformPromise(**kwargs)[source]

Bases: pyrocko.model.content.Content

Information about a waveform potentially available at a remote site.

agency

str, default: ''

Agency code (2-5)

network

str, default: ''

Deployment/network code (1-8)

station

str, default: ''

Station code (1-5)

location

str, default: ''

Location code (0-2)

channel

str, default: ''

Channel code (3)

extra

str, default: ''

Extra/custom code

tmin

time_float

tmax

time_float

deltat

float, optional

source_hash

str

class Station(**kwargs)[source]

Bases: pyrocko.model.content.Content

A seismic station.

agency

str, default: ''

Agency code (2-5)

network

str, default: ''

Deployment/network code (1-8)

station

str, default: ''

Station code (1-5)

location

str, optional, default: ''

Location code (0-2)

tmin

time_float, optional

tmax

time_float, optional

lat

float

lon

float

elevation

float, optional

depth

float, optional

description

str, optional

class Channel(**kwargs)[source]

Bases: pyrocko.model.content.Content

A channel of a seismic station.

agency

str, default: ''

Agency code (2-5)

network

str, default: ''

Deployment/network code (1-8)

station

str, default: ''

Station code (1-5)

location

str, default: ''

Location code (0-2)

channel

str, default: ''

Channel code (3)

extra

str, default: ''

Extra/custom code

tmin

time_float, optional

tmax

time_float, optional

lat

float

lon

float

elevation

float, optional

depth

float, optional

dip

float, optional

azimuth

float, optional

deltat

float, optional

class Nut(file_path=None, file_format=None, file_mtime=None, file_size=None, file_segment=None, file_element=None, kind_id=0, codes='', tmin_seconds=None, tmin_offset=0, tmax_seconds=None, tmax_offset=0, deltat=None, content=None, tmin=None, tmax=None, values_nocheck=None)[source]

Bases: pyrocko.guts.Object

Index entry referencing an elementary piece of content.

So-called nuts are used in Pyrocko’s Squirrel framework to hold common meta-information about individual pieces of waveforms, stations, channels, etc. together with the information where it was found or generated.

file_path

str, optional

file_format

str, optional

file_mtime

time_float, optional

file_size

int, optional

file_segment

int, optional

file_element

int, optional

kind_id

int

codes

str

tmin_seconds

time_float

tmin_offset

int, optional, default: 0

tmax_seconds

time_float

tmax_offset

int, optional, default: 0

deltat

float, default: 0.0

content

pyrocko.guts.doublequoted, optional

class Content(**kwargs)[source]

Bases: pyrocko.guts.Object

Base class for Pyrocko content objects.