cfdm.DimensionCoordinate.to_memory

DimensionCoordinate.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
DimensionCoordinate or None

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