3.2.7Type: string
parse arrayBuffer into an array of DataRecords.
(any)
bytes to parse
any:
arry of data records
parse a single DataRecord starting at the beginning of the DataView. Currently only some blockettes are parsed, 100, 1000, 1001, others are separated, but left as just a DataView.
(any)
bytes as DataView
any:
data record
parse the DataHeader from a single DataRecord starting at the beginning of the DataView.
(any)
bytes as DataView
any:
data record header
parses a Blockette within the DataView.
(any)
containing the data
(any)
offset into the DataView to start
(any)
size in bytes of the Blockette
(any)
true if byte swapping is needed
any:
Blockette instance
Represents a SEED Data Record, with header, blockettes and data.
(any)
(any)
Decompresses the data , if the compression type is known.
any:
decompressed data
Concatenates the net, station, loc and channel codes, separated by the given seperator, or periods if not given.
(any)
optional separater, defaults to .
any:
string of codes
Represents the header part of the DataRecord, including all the actual fixed header plus fields pulled from a blockette 1000 if present.
Calculates the sample rate in hertz from the sampRateFac and sampRateMul parameters. This.sampleRate value is set to this value at construction.
any:
sample rate
Calculates the time of the i-th sample in the record, zero based, so timeOfSample(0) is the start and timeOfSample(this.numSamples-1) is end.
(any)
sample index
any:
time at i-th sample as DateTime
(any)
(any)
Extends Blockette
(any)
(any)
(any)
(any)
(any)
Extends Blockette
(any)
(any)
(any)
(any)
(any)
Extends Blockette
(any)
(any)
(any)
(any)
(any)
(any)
(any)
(any)
(any)
(any)
(any)
(any)
(any)
Sanity checks on a BTime to see if a record might be in the wrong byte order and so need to be byte swapped before parsing. Checks year betwee 1960 and 2055.
(any)
time
any:
true is byte order appears to be wrong, false if it seems ok
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.
(any)
first data record
(any)
seconds data record
any:
true if contiguous
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.
(any)
array of data records
any:
SeismogramSegment instance
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. It also assumes that new seismograms should not be created for gaps, for example when getting data from the same channel for multiple earthquakes.
(any)
array of data records
any:
Seismogram instance
merges contiguous DataRecords into SeismogramSegments.
(any)
array of data records
any:
array of SeismogramSegments for contiguous data
Splits a list of data records by channel code, returning a Map with each NSLC string mapped to an array of data records.
(any)
array of data records
any:
map of arrays of data records keyed by channel
splits the DataRecords by channel and creates a single SeismogramSegment for each contiguous window from each channel.
(any)
DataRecords array
any:
Array of SeismogramSegment
splits the DataRecords by channel and creates a single Seismogram for each channel.
(any)
DataRecords array
any:
Array of Seismogram