Coverage for /opt/obspy/update-docs/src/obspy/obspy/xseed/blockette/blockette012 : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# -*- coding: utf-8 -*-
""" Blockette 012: Volume Time Span Index Blockette.
This blockette forms an index to the time spans that encompass the actual data. One index entry exists for each time span recorded later in the volume. Time spans are not used for field station type volumes. There should be one entry in this index for each time span control header. (For more information, see the notes for blockettes [70], [73], and [74].)
Sample: 012006300011992,001,00:00:00.0000~1992,002,00:00:00.0000~000014 """
Integer(3, "Number of spans in table", 4), # REPEAT fields 4 — 6 for the Number of spans in table: Loop("Timespan", "Number of spans in table", [ VariableString(4, "Beginning of span", 1, 22, 'T'), VariableString(5, "End of span", 1, 22, 'T'), Integer(6, "Sequence number of time span header", 6, ignore=True) ], optional=True), ] |