2.0.0-alpha.4
Type: string
parse arrayBuffer into an array of DataRecords.
(ArrayBuffer)
Array<DataRecord>
parse a single DataRecord starting at the beginning of the DataView.
(DataView)
DataRecord
parse the DataHeader from a single DataRecord starting at the beginning of the DataView.
(DataView)
DataHeader
parses a Blockette within the DataView.
(DataView)
containing the data
(number)
offset into the DataView to start
(number)
size in bytes of the Blockette
(boolean)
true if byte swapping is needed
Blockette
Represents a SEED Data Record, with header, blockettes and data. Currently only blockette 1000 is parsed, others are separated, but left as just a DataView.
(DataHeader)
(DataView)
Represents the header part of the DataRecord, including all the actual fixed header plus fields pulled from a blockette 1000 if present.
Type: moment
Type: moment
Extends Blockette
Extends Blockette
Extends Blockette
BTime
moment
Determines if two DataRecords are contiguous, ie if the second starts after the end of the first and the start time of the second is within 1.5 times the sample period of the end of the first.
(DataRecord)
(DataRecord)
boolean
Concatentates a sequence of DataRecords into a single seismogram object. Assumes that they are all contiguous and in order. Header values from the first DataRecord are used.
(Array<DataRecord>)
SeismogramSegment
Merges data records into a Seismogram object, each of which consists of SeismogramSegment objects containing the data as EncodedDataSegment objects. DataRecords are sorted by startTime. This assumes all data records are from the same channel, byChannel can be used first if multiple channels may be present.
(Array<DataRecord>)
Seismogram
Splits a list of data records by channel code, returning a Map with each NSLC string mapped to an array of data records.
(Array<DataRecord>)
Map<string, Array<DataRecord>>
splits the DataRecords by channel and creates a single Seismogram for each channel.
(Array<DataRecord>)
DataRecords array
Array<Seismogram>
:
Array of Seismogram