cf.Data.loadd¶
-
Data.loadd(d, chunk=True)[source]¶ Reset the data in place from a dictionary serialisation.
Deprecated at version 3.14.0. Consider inspecting the dask array returned by
to_dask_arrayinstead.- Parameters
- d:
dict A dictionary serialisation of a
cf.Dataobject, such as one as returned by thedumpdmethod.- chunk:
bool, optional If True (the default) then the reset data array will be re-partitioned according the current chunk size, as defined by the
cf.chunksizefunction.
- d:
- Returns
Examples
>>> d = Data([[1, 2, 3]], 'm') >>> e = Data([6, 7, 8, 9], 's') >>> e.loadd(d.dumpd()) >>> e.equals(d) True >>> e is d False
>>> e = Data(loadd=d.dumpd()) >>> e.equals(d) True