def _read_netcdf_grid_spacing(root):
    """Read the grid spacing from a GEBCO NetCDF file.

    Parameters
    ----------
    root : netcdf_file
        A NetCDF file.

    Returns
    -------
    tuple of float
        The spacing of the grid between rows, then columns.
    """
    return root.variables["spacing"][:]