3.2.6Type: string
Type: string
Type: string
Web connection to a Ringserver.
(any)
optional host to connect to, defaults to Earthscope. This maybe a full URL.
(any)
optional host to connect to, defaults to 80
Gets/Sets the remote host to connect to.
(any)
optional new value if setting
any:
new value if getting, this if setting
Gets/Sets the remote port to connect to.
(any)
optional new value if setting
any:
new value if getting, this if setting
Gets/Sets the protocol, http or https. This should match the protocol of the page loaded, but is autocalculated and generally need not be set.
(any)
protocol, usually http or https
any:
the query when setting, the current value when no argument
Sets the prefix for the URL path.
(any)
optional new value if setting
any:
new value if getting, this if setting
Get/Set the timeout in seconds for the request. Default is 30.
(any)
optional new value if setting
any:
new value if getting, this if setting
Pulls id result from ringserver /id parsed into an object with 'ringserverVersion' and 'serverId' fields. Also sets the isFDSNSourceId value as ringserver v4 uses new FDSN style ids while
any:
Result as a Promise.
The optional matchPattern is a regular expression, so for example '.+_JSC_00_HH.' would get all HH? channels from any station name JSC.
(any)
regular expression to match
any:
Result as a Promise.
Pull streams, including start and end times, from the ringserver. The optional matchPattern is a regular expression, so for example '.+_JSC_00_HH.' would get all HH? channels from any station name JSC. Result returned is an Promise.
(any)
regular expression to match
any:
promise to object with 'accessTime' as a DateTime
and 'streams' as an array of StreamStat objects.
Forms base url from protocol, host and port.
any:
the string url
Forms the ringserver id/json url.
any:
the id url
Forms the ringserver streams/json url using the query parameters.
(any)
optional string of query parameters
any:
the streams url
Forms the ringserver stream ids url using the query parameters.
(any)
optional string of query parameters
any:
the stream ids url
Extract one StreamStat per station from an array of channel level StreamStats. The start and end times are the min and max times for all the channels within the station. Can be used to get most time of most recent packet from the stations to give an idea of current latency.
(any)
array of channel level StreamStats
any:
array of station level StreamStats
(any)
extracts the type from a ringserver id, ie the type from xxx/type.
(any)
ringserver/datalink style id
any:
type, usually MSEED, MSEED3, JSON or TEXT
extracts the source id from a ringserver id, ie the source id from NN_SSSSS_LL_CCC/type or FDSN:NN_SSSSS_LL_B_S_S/type
(any)
ringserver/datalink style id
any:
FDSN source id or null