cf.NetCDFArray.copy¶
-
NetCDFArray.
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.
New in version 1.7.0.
Returns: The deep copy. Examples:
>>> b = a.copy()