Closed
Description
A nice feature that was present in h5py that would be quite nice in Zarr is a copy
method. This would allow one to copy individual datasets. It could be extended to handle recursive copying. The copying could be within the same group or different groups. Various other features could be added over time.
- Copy
Array
to new location- Copy attributes, array metadata, and data
- Handle
Group
s already exist - Handle
Group
s need to be created during copy - Raise if destination is occupied
- Make operation appear atomic (using temp directory)
- Copy
Group
to new location- Copy group metadata and attributes
- Need to handle recursively copying contents
- Handle
Group
s already exist - Handle
Group
s need to be created during copy - Raise if destination is occupied (roll back changes)
- Make operation appear atomic (using temp directory)
ref: http://docs.h5py.org/en/latest/high/group.html?#Group.copy