HDF5 external link and family driver.

[I sent this three days ago but do not see it or any responses in
the group listings. Trying to re-send, sorry if you get it twice]

Hi all,

is it possible to create external link to the file(s) written
by family driver. I can see that H5Lcreate_external() accepts
link access property which can be used to specify files driver
via H5Pset_elink_fapl() call, but it does not look like driver
information is stored in a file together with the link. Do
I have to set driver again when the file is opened and link is
followed?

Cheers,
Andy

Hi Andy,

···

On Jun 20, 2013, at 2:45 PM, "Salnikov, Andrei A." <salnikov@slac.stanford.edu> wrote:

[I sent this three days ago but do not see it or any responses in
the group listings. Trying to re-send, sorry if you get it twice]

Hi all,

is it possible to create external link to the file(s) written
by family driver. I can see that H5Lcreate_external() accepts
link access property which can be used to specify files driver
via H5Pset_elink_fapl() call, but it does not look like driver
information is stored in a file together with the link. Do
I have to set driver again when the file is opened and link is
followed?

  You can use the H5Pset_elink_fapl() to do what you want:

http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-SetELinkFapl

  Quincey

Hi Quincey,

thanks. That is what I do when I create a link. My question was
do I have to do it again when I follow the link (it looks like
I do)? Does it mean that standard tools won't be able to work
with that file?

Cheers,
Andy

···

Quincey Koziol wrote on 2013-06-27: > Hi Andy, > > On Jun 20, 2013, at 2:45 PM, "Salnikov, Andrei A." > <salnikov@slac.stanford.edu> wrote:

[I sent this three days ago but do not see it or any responses in
the group listings. Trying to re-send, sorry if you get it twice]

Hi all,

is it possible to create external link to the file(s) written
by family driver. I can see that H5Lcreate_external() accepts
link access property which can be used to specify files driver
via H5Pset_elink_fapl() call, but it does not look like driver
information is stored in a file together with the link. Do
I have to set driver again when the file is opened and link is
followed?

  You can use the H5Pset_elink_fapl() to do what you want:

http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-SetELinkFapl

  Quincey

_______________________________________________ Hdf-forum is for HDF
software users discussion. Hdf-forum@lists.hdfgroup.org
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-
forum_lists.hdfgroup.org