obspy.io.y.core._is_y

_is_y(filename)[source]

Checks whether a file is a Nanometrics Y file or not.

Parameters:

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

Return type:

bool

Returns:

True if a Nanometrics Y file.

Example

>>> _is_y("/path/to/YAYT_BHZ_20021223.124800")  
True