def METHOD_NAME(vdb_file, grid_name):
    data = VdbGridData()
    res = lib.METHOD_NAME(vdb_file.encode('utf8'), grid_name.encode('utf8'),
                                 ctypes.byref(data))
    if not res:
        err_str = lib.vdb_get_last_error().decode('utf8')
        raise RuntimeError(err_str)
    indices = np.frombuffer((ctypes.c_uint32 * data.indicesSize).from_address(data.indices),
                            dtype=np.uint32).copy()
    values = np.frombuffer((ctypes.c_float * data.valuesSize).from_address(data.values),
                            dtype=np.float32).copy()
    res = {
        'size': (data.x, data.y, data.z),
        'indices': indices.reshape(-1, 3),
        'values': values
    }
    lib.vdb_free_grid_data(ctypes.byref(data))
    return res