cfdm.Domain.copy¶
- Domain.copy(data=True)[source]¶
Return a deep copy.
d.copy()
is equivalent tocopy.deepcopy(d)
.Added in version (cfdm): 1.7.0
See also
- Parameters:
- data:
bool
, optional If True (the default) then copy data contained in the metadata construct(s), else the data is not copied.
- data:
- Returns:
Domain
The deep copy.
Examples
>>> d = cfdm.Domain() >>> e = d.copy()