obspy.io.reftek.core._is_reftek130
- _is_reftek130(filename)[source]
Checks whether a file is REFTEK130 format or not.
- Parameters:
filename (str) – REFTEK130 file to be checked.
- Return type:
- Returns:
True
if a REFTEK130 file.
Checks if overall length of file is consistent (i.e. multiple of 1024 bytes) and checks for valid packet type identifiers in the first 20 expected packet positions.