obspy.io.pde.mchedr._is_mchedr

_is_mchedr(filename)[source]

Checks whether a file format is mchedr (machine-readable Earthquake Data Report).

Parameters:

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

Return type:

bool

Returns:

True if mchedr file.

Example

>>> _is_mchedr('/path/to/mchedr.dat')  
True