cf.Constructs.shallow_copy

Constructs.shallow_copy(_ignore=None)[source]

Return a shallow copy.

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

New in version (cfdm): 1.7.0

Returns
Constructs

The shallow copy.

Examples:

>>> g = f.shallow_copy()