cf.H5netcdfArray.copy¶
- H5netcdfArray.copy()[source]¶
Return a deep copy of the array.
a.copy() is equivalent to ``copy.deepcopy(a)
.Copy-on-write is employed. Therefore, after copying, care must be taken when making in-place modifications to attributes of either the original or the new copy.
Added in version (cfdm): 1.7.0
- Returns:
H5netcdfArray
The deep copy.
Examples
>>> b = a.copy()