cf.RaggedContiguousArray.copy

RaggedContiguousArray.copy()[source]

Return a deep copy of the array.

a.copy() is equivalent to ``copy.deepcopy(a).

Copy-on-write is employed. Therefore, after copying, care must be taken when making in-place modifications to attributes of either the original or the new copy.

New in version (cfdm): 1.7.0

Returns
RaggedContiguousArray

The deep copy.

Examples

>>> b = a.copy()