obspy.io.nordic.core._is_sfile

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

Basic test of whether the file is nordic format or not.

Not exhaustive, but checks some of the basics.

Parameters
  • sfile (str) – Path to sfile

  • encoding (str) – Encoding of the file.

Return type

bool