cf.NetCDF4Array.copy¶
- NetCDF4Array.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:
NetCDF4Array
The deep copy.
Examples
>>> b = a.copy()