obspy.io.mseed3.core._is_mseed3
- _is_mseed3(filename)[source]
Checks whether a file is mseed3 or not.
- Parameters:
filename (str) – mseed3 file to be checked.
- Return type:
- Returns:
True
if a mseed3 file.
This method reads the first three bytes of the file and checks whether it is ‘M’ ‘S’ 3, then reads the fixed header and performs simple sanity checks on the start time fields.