🍾 Xarray is now 10 years old! 🎉

xarray.Dataset.load

Contents

xarray.Dataset.load#

Dataset.load(**kwargs)[source]#

Manually trigger loading and/or computation of this dataset’s data from disk or a remote source into memory and return this dataset. Unlike compute, the original dataset is modified and returned.

Normally, it should not be necessary to call this method in user code, because all xarray functions should either work on deferred data or load data automatically. However, this method can be necessary when working with many file objects on disk.

Parameters:

**kwargs (dict) – Additional keyword arguments passed on to dask.compute.

See also

dask.compute