def METHOD_NAME(name: str) -> tuple:
    """ Open a dataset from the argopy online data repository (requires internet).
    If a local copy is found then always use that to avoid network traffic.
    Refresh dataset with:
    ```
    argopy.tutorial.repodata().download(overwrite=True)
    ```
    Parameters
    ----------
    name: str
        Name of the dataset to load or get information for. It can be one of the following:
            - ``gdac``: A small subset of the GDAC ftp.
            - ``weekly_index_prof``: The weekly profile index file
            - ``global_index_prof``: The global profile index file
    Returns
    -------
    path: str
        Root path to files
    files: list(str) or str
        List of files with the requested dataset
    """
    if name == 'gdac':
        gdacftp = sample_ftp()
        gdacftp.download(overwrite=False)
        return gdacftp.rootpath, gdacftp.ls()
    elif name == 'weekly_index_prof':
        gdacftp = sample_ftp()
        gdacftp.download(overwrite=False)
        flist = gdacftp.ls()
        ifile = [f for f in flist if 'ar_index_this_week_prof.txt' in f][0]
        return gdacftp.rootpath, ifile
    elif name == 'global_index_prof':
        gdacftp = sample_ftp()
        gdacftp.download(overwrite=False)
        flist = gdacftp.ls()
        ifile = [f for f in flist if 'ar_index_global_prof.txt' in f][0]
        return gdacftp.rootpath, ifile
    else:
        raise ValueError("Unknown tutorial dataset ('%s')" % name)