obspy.io.nordic.core.readheader

readheader(sfile, encoding='latin-1')[source]

Read header information from a seisan nordic format S-file.

Parameters:
  • sfile (str) – Path to the s-file

  • encoding (str) – Encoding for file, used to decode from bytes to string

Returns:

Event