obspy.io.sh.core._is_asc

_is_asc(filename)[source]

Checks whether a file is a Seismic Handler ASCII file or not.

Parameters

filename (str) – Name of the ASCII file to be checked.

Return type

bool

Returns

True if a Seismic Handler ASCII file.

Example

>>> _is_asc("/path/to/QFILE-TEST-ASC.ASC")  
True