obspy.io.reftek.core._read_reftek130

_read_reftek130(filename, network='', location='', component_codes=None, headonly=False, verbose=False, sort_permuted_package_sequence=False, **kwargs)[source]

Read a REFTEK130 file into an ObsPy Stream.

Parameters:
  • filename (str) – REFTEK130 file to be read.

  • network (str) – Network code to fill in for all data (network code is not stored in EH/ET/DT packets).

  • location (str) – Location code to fill in for all data (network code is not stored in EH/ET/DT packets).

  • component_codes (list) – Iterable of single-character component codes (e.g. ['Z', 'N', 'E']) to be appended to two-character stream name parsed from event header packet (e.g. 'HH') for each of the channels in the data (e.g. to make the channel codes in a three channel data file to 'HHZ', 'HHN', 'HHE' in the created stream object).

  • headonly (bool) – Determines whether or not to unpack the data or just read the headers.

  • sort_permuted_package_sequence (bool) – Determines whether or not the package list is sorted when a permuted package sequence is encountered. This should only be used if problems occur with files that have a permuted package sequence (showing the related warning message).

Return type:

Stream