obspy.io.xseed.parser.Parser.__init__

Parser.__init__(data=None, debug=False, strict=False, compact=False)[source]

Initializes the SEED parser.

Parameters:
  • data (str, bytes, io.BytesIO or file) Filename, URL, XSEED/SEED string, file pointer or BytesIO.
  • debug (bool) Enables a verbose debug log during parsing of SEED file.
  • strict (bool) Parser will raise an exception if SEED files does not stay within the SEED specifications.
  • compact (bool) SEED volume will contain compact data strings. Missing time strings will be filled with 00:00:00.0000 if this option is disabled.