def _check_data(wavfile, station, channel, debug=<NUM_LIT:0>):
if debug > <NUM_LIT:1>:<EOL><INDENT>print('<STR_LIT>' + wavfile)<EOL><DEDENT>st = read(wavfile, headonly=True)<EOL>for tr in st:<EOL><INDENT>if tr.stats.station == station and tr.stats.channel == channel:<EOL><INDENT>return wavfile<EOL><DEDENT><DEDENT>
Inner loop for parallel checks.

:type wavfile: str
:param wavfile: Wavefile path name to look in.
:type station: str
:param station: Channel name to check for
:type channel: str
:param channel: Channel name to check for
:type debug: int
:param debug: Debug level, if > 1, will output what it it working on.