Hi everyone,

I am using H5Ocopy to copy groups with lots of subgroups and datasets,
which include datasets and attributes containing object references.
The references point to objects that are also inside the group that is
being copied. The copy happens between two files.

What I would like to have as a result is a tree in the destination
file in which all object references point to the freshly made copies
of what the references in the source group pointed to. That's not what
happens, I get invalid object references.

>From the documentation it is not clear to me what the expected
behavior is, nor if there is any way to get the behavior I need. The
documentation for H5Ocopy doesn't mention references at all. The
documentation for H5Pset_copy_object says that the default behavior,
in the absence of H5O_COPY_EXPAND_REFERENCE_FLAG, is "Update only the
values of object references", which sounds a bit like what I expect,
but it is not said explicitly to what value they references are
updated.

Can anyone shed some light on this?

Thanks,
  Konrad.

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Reply via email to