cfdm.core.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 = cfdm.core.CellMethod()
>>> g = f.copy()