3.0.0-alpha.1
A web based connection to an archive of miniseed files arranged based on a pattern using n, s, l, c, Y, j, H for network, station, locid, channel, year, day of year and hour. This is a subset of the options available within the IRIS Ringserver MSeedArchive option, on which this is based. Retrieved seismograms are cut from the larger miniseed files retrieved via http(s), and so there is wasted bandwidth to the server. On the other hand this requires no extra software on the server side beyond a directory structure with suitably small miniseed files. Generally we find channel-hour is a reasonable size for most seismic channels. The URL to needed files is constructed by concatenating the rootUrl with the pattern using a time range large enough to get all overlaps based on the smallest sample rate per channel band code and record size, which defaults to 512.
checks pattern for allowed flags as not all that are supported by ringserver are supported here. Must only include:
(string)
mseed archive pattern string
boolean
:
true if all flags are allowed
Loads seismograms from the remote miniseed archive via http(s). Files downloaded include all that might overlap the given time window based on record size, the minimum sample rate for the channel band code and the given time window.
(Array<SeismogramDisplayData>)
requst channels and time windows
Promise<Array<SeismogramDisplayData>>
:
Promise to the same SeismogramDisplayData array, but with seismograms populated
Loads miniseed records based on channel and time window.
(Channel)
channel to request
(DateTime)
start time
(DateTime)
end time
Promise<Array<miniseed.DataRecord>>
:
Promise to array of miniseed records
Loads miniseed records based on string channel codes.
(string)
network code
(string)
station code
(string)
location code
(string)
channel code
(DateTime)
start time
(DateTime)
end time
(number?)
known sample rate for this channel
Promise<Array<miniseed.DataRecord>>
:
Promise to array of miniseed records
Promise<Array<miniseed.DataRecord>>
Gives the maximum sample rate for the channel, based on the band code, first char, of the channel code.
(string)
channel code like BHZ, only the first letter is used
number
:
mimumum sample rate this could be
Gives the minimum sample rate for the channel, based on the band code, first char, of the channel code.
(string)
channel code like BHZ, only the first letter is used
number
:
mimumum sample rate this could be
Calculates the maximum time coverage for a single miniseed record given the record size (usually 512 or 4096) and the sample rate (Hertz). This assumes 40 bytes of header and maximum compression of 2 samples per byte (4 bit per sample) which is the best Steim2.
Duration
:
maximum interval of time that a full record could cover when
compression is at its most efficient