obspy.io.gse2.core._is_gse2

_is_gse2(file)[source]

Checks whether a file is GSE2 or not.

Parameters:

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

Return type:

bool

Returns:

True if a GSE2 file.