def _add_vector_dim(dims, coords):
    """Adds a 'vector' dimension with coords (eR, ePhi, eZ)"""
    dims = list(dims)
    dims.append("vector")

    coords = dict(coords)
    coords["vector"] = ["eR", "ePhi", "eZ"]

    return dims, coords