ndio/convert/blosc.py
def to_array(data):
    """
    Import a blosc array into a numpy array.

    Arguments:
        data: A blosc packed numpy array

    Returns:
        A numpy array with data from a blosc compressed array
    """
    try:
        numpy_data = blosc.unpack_array(data)
    except Exception as e:
        raise ValueError("Could not load numpy data. {}".format(e))

    return numpy_data
def to_array(data):
    try:
        numpy_data = blosc.unpack_array(data)
    except Exception as e:
        raise ValueError("Could not load numpy data. {}".format(e))

    return numpy_data
def to_array ( data ) : try : numpy_data = blosc . unpack_array ( data ) except Exception as e : raise ValueError ( "Could not load numpy data. {}" . format ( e ) ) return numpy_data
Import a blosc array into a numpy array.

    Arguments:
        data: A blosc packed numpy array

    Returns:
        A numpy array with data from a blosc compressed array
Import a blosc array into a numpy array .