xray.open_mfdataset(paths, chunks=None, concat_dim=None, **kwargs)

Open multiple files as a single dataset.

Experimental. Requires dask to be installed.


paths : str or sequence

Either a str glob in the form “path/to/my/files/*.nc” or an explicit list of files to open.

chunks : dict, optional

Dictionary with keys given by dimension names and values given by chunk sizes. In general, these should divide the dimensions of each dataset. By default, chunks will be chosen to load entire input files into memory at once. This has a major impact on performance: please see the full documentation for more details.

concat_dim : str or DataArray or Index, optional

Dimension to concatenate files along. This argument is passed on to auto_combine along with the dataset objects.

**kwargs : optional

Additional arguments passed on to open_dataset.