xarray.Dataset.persist

Dataset.persist(**kwargs) → T

Trigger computation, keeping data as dask arrays

This operation can be used to trigger computation on underlying dask arrays, similar to .compute(). However this operation keeps the data as dask arrays. This is particularly useful when using the dask.distributed scheduler and you want to load a large amount of data into distributed memory.

Parameters
**kwargsdict

Additional keyword arguments passed on to dask.persist.

See also

dask.persist