def filter_stream(streams, excludes):
    """
    Uses a list of keywords to remove sensors or streams from the list returned by OOI Net.

    :param streams: list of sensor or streams returned from OOI Net
    :param excludes: list of keywords to use in pruning the list
    :return: a cleaned, pruned list
    """
    clean = []
    for stream in streams:
        if not any(sub in stream for sub in excludes):
            clean.append(stream)

    return clean