obspy.io.nied.knet._is_knet_ascii

_is_knet_ascii(filename_or_buf)[source]

Checks if the file is a valid K-NET/KiK-net ASCII file.

Parameters:filename_or_buf (str or file-like object.) File to test.