def process_tags(tags):
    """Process the provided tag information to correct format.

    Converts the list of information to a dictionary to be able to pass to the
    geometry creation step.

    Input:
    -----
        tags: list of lists, [[tagname1, tagval1], [tagname2, tagval2], ...]

    Return:
    -------
        tagdict: dict, key=TAGNAME, value=TAGVALUE
    """
    tagdict = {}
    for tagset in tags:
        key = tagset[0]
        val = float(tagset[1])
        tagdict[key] = val

    return tagdict