obspy.io.nordic.core.readwavename

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

Extract the waveform filename from the s-file.

Returns a list of waveform names found in the s-file as multiples can be present.

Parameters
  • sfile (str) – Path to the sfile

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

Returns

List of strings of wave paths

Return type

list