ValidationError

class pymseed.ValidationError(offset, message, sourceid=None, starttime=None, reclen=None)[source]

Bases: object

An error or warning found during miniSEED record validation.

Parameters:
  • offset (int)

  • message (str)

  • sourceid (str | None)

  • starttime (int | None)

  • reclen (int | None)

offset

Byte offset in the source where the issue occurred.

Type:

int

message

Description of the issue.

Type:

str

sourceid

Source identifier from the record header, if parseable.

Type:

str | None

starttime

Start time as nanoseconds since Unix epoch, if parseable.

Type:

int | None

reclen

Record length in bytes, if determinable.

Type:

int | None