cf.CellMethod.copy

CellMethod.copy()[source]

Return a deep copy.

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

New in version (cfdm): 1.7.0

Returns
CellMethod

The deep copy.

Examples:

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