datatree/io.py
def open_datatree(filename: str, chunks: Dict = None, **kwargs) -> DataTree:
    """
    Open and decode a dataset from a file or file-like object, creating one Tree node for each group in the file.

    Parameters
    ----------
    filename
    chunks

    Returns
    -------
    DataTree
    """

    with netCDF4.Dataset(filename, mode='r') as ncfile:
        ds = open_dataset(filename, chunks=chunks, **kwargs)
        tree_root = DataTree(data_objects={'root': ds})
        _open_group_children_recursively(filename, tree_root, ncfile, chunks, **kwargs)
    return tree_root

    Open and decode a dataset from a file or file-like object, creating one Tree node for each group in the file.

    Parameters
    ----------
    filename
    chunks

    Returns
    -------
    DataTree
    
Open and decode a dataset from a file or file-like object, creating one Tree node for each group in the file.
Parameters

filename
chunks

Returns


Open and decode a dataset from a file or file - like object creating one Tree node for each group in the file . Parameters filename chunks Returns
def open_datatree(filename: str, chunks: Dict = None, **kwargs) -> DataTree:
    with netCDF4.Dataset(filename, mode='r') as ncfile:
        ds = open_dataset(filename, chunks=chunks, **kwargs)
        tree_root = DataTree(data_objects={'root': ds})
        _open_group_children_recursively(filename, tree_root, ncfile, chunks, **kwargs)
    return tree_root
def open_datatree ( filename : str , chunks : Dict = None , ** kwargs ) -> DataTree : with netCDF4 . Dataset ( filename , mode = 'r' ) as ncfile : ds = open_dataset ( filename , chunks = chunks , ** kwargs ) tree_root = DataTree ( data_objects = { 'root' : ds } ) _open_group_children_recursively ( filename , tree_root , ncfile , chunks , ** kwargs ) return tree_root
Open and decode a dataset from a file or file-like object, creating one Tree node for each group in the file.
Open and decode a dataset from a file or file - like object creating one Tree node for each group in the file .
"""
    Open and decode a dataset from a file or file-like object, creating one Tree node for each group in the file.

    Parameters
    ----------
    filename
    chunks

    Returns
    -------
    DataTree
    """
filename
str
chunks
Dict