obspy.sh.core.isASC

isASC(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

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

This Page