pyrocko.squirrel.client.fdsn¶
Squirrel client to access FDSN web services for seismic waveforms and metadata.
Classes
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Squirrel data-source to transparently get data from FDSN web services. |
- class ErrorEntry(**kwargs)[source]¶
Bases:
ObjectUndocumented.
- ♦ time¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)
- ♦ kind¶
str
- ♦ details¶
str, optional
- class ErrorAggregate(**kwargs)[source]¶
Bases:
ObjectUndocumented.
- ♦ site¶
str
- ♦ kind¶
str
- ♦ details¶
str
- ♦ entries¶
listofErrorEntryobjects, default:[]
- ♦ codes¶
listofpyrocko.squirrel.model.CodesNSLCEobjects, default:[]
- ♦ time_spans¶
listoftupleof 2 pyrocko.util.get_time_float (pyrocko.guts.Timestamp) objects objects, default:[]
- class ErrorLog(**kwargs)[source]¶
Bases:
ObjectUndocumented.
- ♦ site¶
str
- ♦ entries¶
listofErrorEntryobjects, default:[]
- ♦ checkpoints¶
listofintobjects, default:[]
- class FDSNSource(site, query_args=None, codes=None, **kwargs)[source]¶
-
Squirrel data-source to transparently get data from FDSN web services.
Attaching an
FDSNSourceobject to aSquirrelallows the latter to download station and waveform data from an FDSN web service should the data not already happen to be available locally.- ♦ site¶
strFDSN site url or alias name (see
pyrocko.client.fdsn).
- ♦ query_args¶
dictofstrobjects, optionalCommon query arguments, which are appended to all queries.
- ♦ codes¶
listofpyrocko.squirrel.model.CodesNSLCEobjects, optionalList of codes patterns to query via POST parameters.
- ♦ expires¶
float(pyrocko.guts.Duration), optionalExpiration time [s]. Information older than this will be refreshed. This only applies to station-metadata. Waveforms do not expire. If set to
Noneneither type of data expires.
- ♦ cache_path¶
str, optionalDirectory path where any downloaded waveforms and station meta-data are to be kept. By default the Squirrel environment’s cache directory is used.
bool, default:FalseIf
True, waveforms are shared with other FDSN sources in the same Squirrel environment. IfFalse, they are kept separate.
- ♦ user_credentials¶
tupleof 2strobjects, optionalUser and password for FDSN servers requiring password authentication
- ♦ auth_token¶
str, optionalAuthentication token to be presented to the FDSN server.
- ♦ auth_token_path¶
str, optionalPath to file containing the authentication token to be presented to the FDSN server.
- ♦ hotfix_module_path¶
str(pyrocko.has_paths.Path), optionalPath to Python module to locally patch metadata errors.