def check_datagaps(tr, nsec=100):
    """Verify there is sufficient data"""
    
    datalength = len(tr.data) * tr.stats.delta
    assert datalength > nsec, \
        f'(ValueError) Insufficient data length ({datalength} seconds)'
        
    return None