Objects
HDF5.copy_object
— Functioncopy_object(src_parent::Union{File,Group}, src_path::AbstractString, dst_parent::Union{File,Group}, dst_path::AbstractString)
Copy data from src_parent[src_path]
to dst_parent[dst_path]
.
Examples
f = h5open("f.h5", "r")
g = h5open("g.h5", "cw")
copy_object(f, "Group1", g, "GroupA")
copy_object(f["Group1"], "data1", g, "DataSet/data_1")
copy_object(src_obj::Object, dst_parent::Union{File,Group}, dst_path::AbstractString)
Examples
copy_object(f["Group1"], g, "GroupA")
copy_object(f["Group1/data1"], g, "DataSet/data_1")
HDF5.delete_object
— Functiondelete_object(parent::Union{File,Group}, path::AbstractString)
Delete the object at parent[path]
.
Examples
f = h5open("f.h5", "r+")
delete_object(f, "Group1")