cf.Datum.copy

Datum.copy()[source]

Return a deep copy.

f.copy() is equivalent to copy.deepcopy(f).

New in version (cfdm): 1.7.0

Returns
Datum

The deep copy.

Examples

>>> f = cf.Datum()
>>> g = f.copy()