def nearest_plevel(cube, pval):
    """
    Find the value nearest to the given `pval`
    among points of pressure coordinate of a given cube
    """
    pcoord = cube.coord('pressure')
    i = pcoord.nearest_neighbour_index(pval)
    return pcoord.points[i]