def METHOD_NAME(zarr_path: str, out_path: str, res: list):
    """Convert 3D zarr to ome-zarr.
    Args:
        zarr_path (str): Path to zarr.
        out_path (str): Path of ome-zarr to be created.
        res (list): List of xyz resolution values in nanometers.
    Raises:
        ValueError: If zarr to be written already exists.
        ValueError: If conversion is not 3D array.
    """
    if os.path.exists(out_path):
        raise ValueError(
            f"{out_path} already exists, please delete the existing file or change the name of the ome-zarr to be created."
        )
    print(f"Converting {zarr_path} to ome-zarr")
    z = zarr.open(zarr_path)
    if len(z.shape) != 3:
        raise ValueError("Conversion only supported for 3D arrays")
    dra = da.from_zarr(zarr_path)
    store = parse_url(out_path, mode="w").store
    root = zarr.group(store=store)
    write_image(image=dra, group=root, axes="zxy")
    _edit_ome_metadata(out_path, res)