def download_default_sources_list(url=DEFAULT_SOURCES_LIST_URL):
    try:
        f = urlopen(url, timeout=DOWNLOAD_TIMEOUT)
    except (URLError, httplib.HTTPException) as e:
        raise URLError(str(e) + ' (%s)' % url)
    data = f.read().decode()
    f.close()
    if not data:
        raise RuntimeError("cannot download defaults file: empty contents")
    # parse just for validation
    parse_sources_data(data)
    return data
Returns data from requested channel as a 1d numpy array.
dataset/ETHPy150Open ros-infrastructure/rosdep/src/rosdep2/sources_list.py/download_default_sources_list--crossover with--dataset/ETHPy150Open NeuralEnsemble/python-neo/neo/io/blackrockio_deprecated.py/Loader.get_channel_as_array