obspy.io.segy.core._is_su

_is_su(file)[source]

Checks whether or not the given file is a Seismic Unix (SU) file.

Parameters:

file (str or file-like object) – Seismic Unix file to be checked.

Return type:

bool

Returns:

True if a Seismic Unix file.

Note

This test is rather shaky because there is no reliable identifier in a Seismic Unix file.