obspy.io.sac.core._internal_is_sac_xy

_internal_is_sac_xy(buf)[source]

Checks whether a file is alphanumeric SAC file or not.

Parameters:

buf (file-like object or open file) – Alphanumeric SAC file to be checked.

Return type:

bool

Returns:

True if a alphanumeric SAC file.