cfdm.Field.to_memory

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

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