def METHOD_NAME(data):
    """Convert a COMPAS curve to a Rhino curve.
    Parameters
    ----------
    data: dict
    Returns
    -------
    :rhino:`Rhino.Geometry.NurbsCurve`
    """
    nurbs = RhinoNurbsCurve(data["degree"], len(data["points"]))
    for index, xyz in enumerate(data["points"]):
        nurbs.Points.SetPoint(index, *xyz)
    knotvector = []
    for knot, mult in zip(data["knots"], data["multiplicities"]):
        for i in range(mult):
            knotvector.append(knot)
    for index, knot in enumerate(knotvector):
        nurbs.Knots.Item[index] = knot
    return nurbs