Skip to content

ENH: copy method #113

Closed
Closed
@jakirkham

Description

@jakirkham

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 Groups already exist
    • Handle Groups 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 Groups already exist
    • Handle Groups 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features or improvements

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions