3.2.0Type: string
Type: string
Type: z.infer<any>
Type: z.infer<any>
Type: z.infer<any>
Type: string
Web connection to a Ringserver.
(string?)
optional host to connect to, defaults to IRIS. This maybe a full URL.
(number?)
optional host to connect to, defaults to 80
Gets/Sets the remote host to connect to.
(string?)
optional new value if setting
RingserverConnection:
new value if getting, this if setting
Gets/Sets the remote port to connect to.
(number?)
optional new value if setting
RingserverConnection:
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.
(string?)
protocol, usually http or https
RingserverConnection:
the query when setting, the current value when no argument
Sets the prefix for the URL path.
(string?)
optional new value if setting
RingserverConnection:
new value if getting, this if setting
Get/Set the timeout in seconds for the request. Default is 30.
(number?)
optional new value if setting
RingserverConnection:
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
Promise<RingserverIdType>:
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.
(string?)
regular expression to match
Promise<StreamsResultType>:
promise to object with 'accessTime' as a DateTime
and 'streams' as an array of StreamStat objects.
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.
(Array<StreamStatType>)
array of channel level StreamStats
Array<StreamStatType>:
array of station level StreamStats
extracts the type from a ringserver id, ie the type from xxx/type.
(string)
ringserver/datalink style id
(string | null):
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
(string)
ringserver/datalink style id
(FDSNSourceId | StationSourceId | NetworkSourceId | null):
FDSN source id or null