def apply_scale_factor(data, scale_factor):
    """Applies a scale factor to remote sensing data.

    Parameters
    ----------
    data : numpy array
        Array containing the unscaled data.

    scale_factor : int or float
        Factor to multiply the unscaled data by.

    Returns
    -------
    data_scaled : numpy array
        Array containing the scaled data.
    """
    # Scale data values
    data_scaled = data * scale_factor

    # Returned scaled data
    return data_scaled