cfdm.DomainAncillary.to_memory

DomainAncillary.to_memory(*args, **kwargs)[source]

Bring data on disk into memory.

There is no change to data that is already in memory.

Parameters
inplace: bool, optional

If True then do the operation in-place and return None.

Returns
DomainAncillary or None

A copy with the data in memory, or None if the operation was in-place.