squirrel.client
¶
-
class
Source
(**kwargs)[source]¶ Bases:
pyrocko.guts.Object
Undocumented.
-
update_channel_inventory
(squirrel, constraint)[source]¶ Let local inventory be up-to-date with remote for a given constraint.
-
-
class
Constraint
(**kwargs)[source]¶ Bases:
pyrocko.guts.Object
Undocumented.
-
♦
tmin
¶ builtins.float
(pyrocko.guts.Timestamp
), optional
-
♦
tmax
¶ builtins.float
(pyrocko.guts.Timestamp
), optional
-
♦
-
class
FileFormat
(dummy) → str[source]¶ Bases:
pyrocko.guts.StringChoice
Any
str
out of['detect', 'datacube', 'mseed', 'pyrocko_events', 'pyrocko_stations', 'sac', 'stationxml', 'tdms_idas', 'virtual', 'yaml']
.
-
class
ContentKind
(dummy) → str[source]¶ Bases:
pyrocko.guts.StringChoice
Any
str
out of['waveform', 'station', 'channel', 'response', 'event']
.
-
class
Local
(*args, **kwargs)[source]¶ Bases:
pyrocko.squirrel.client.base.Source
,pyrocko.has_paths.HasPaths
Undocumented.
-
♦
paths
¶ list
ofbuiltins.str
(pyrocko.has_paths.Path
) objects, default:[]
-
♦
kinds
¶ list
ofbuiltins.str
(ContentKind
) objects, optional
-
♦
format
¶ builtins.str
(FileFormat
), default:'detect'
-
♦
-
class
FDSNSource
(site, query_args=None, **kwargs)[source]¶ Bases:
pyrocko.squirrel.client.base.Source
Squirrel source to access data through an FDSN web service.
-
♦
site
¶ str
-
♦
query_args
¶ dict
ofstr
objects, optional
-
♦
expires
¶ builtins.float
(pyrocko.guts.Duration
), optional
-
♦
cache_path
¶ str
, optional
bool
, default:True
-
♦
user_credentials
¶ tuple
of 2str
objects, optional
-
♦
auth_token
¶ str
, optional
-
♦
auth_token_path
¶ str
, optional
-
♦
-
class
CatalogSource
(catalog, query_args=None, **kwargs)[source]¶ Bases:
pyrocko.squirrel.client.base.Source
Undocumented.
-
♦
catalog
¶ str
-
♦
query_args
¶ dict
ofstr
objects, optional
-
♦
expires
¶ builtins.float
(pyrocko.guts.Duration
), optional
-
♦
anxious
¶ builtins.float
(pyrocko.guts.Duration
), optional
-
♦
cache_path
¶ str
, optional
-
♦