cf.NetCDFArray.to_memory

NetCDFArray.to_memory()[source]

Bring an array on disk into memory and retain it there.

There is no change to an array that is already in memory.

New in version (cfdm): 1.7.0

Returns
NumpyArray

The array that is stored in memory.

Examples:

>>> b = a.to_memory()