def check_tc_data(*args):
    """Access stored Thermocouple data from the sensor limits and collected data to index and build an integer numpy array for sensor values that have exceeded the set bounds.

    Parameters
    ----------
    tc_limits : int numpy array
        Values for thermocouple limits.
    tc_data : float numpy array
        Collected sensor data used to.

    Returns
    -------
    tc_input_data : numpy array
        numpy array of sensed thermocouple values data.
    """
    limits = args[0].tc_limits
    tc = []
    for i in range(len(limits)):
        x = args[1][i] - limits[i]
        if x >= 0:
            tc.append(args[1][i])
        else:
            tc.append(0)
    return tc
