On 17. feb. 2011, at 12.09, Giraudon Cyril wrote:

> Paul,
> 
> I think the function H5Lexists does the job :
> http://www.hdfgroup.org/HDF5/doc/RM/RM_H5L.html#Link-Exists
> 
> I use it in one of my projects :
> http://code.google.com/p/amelet-hdf/source/browse/amelethdf-fortran/trunk/src/amelethdf/hdfpath.f90#36
> 
> Regards,
> 
> Cyril.
> 
> 
> Le 17/02/2011 10:58, Paul Anton Letnes a écrit :
>> Hi!
>> 
>> I am using the fortran90 interface to hdf5 1.8 patch 1.
>> 
>> I am unable to find a function that lets me know whether a group exists 
>> already. It is clearly not allowed to create an already existing group, so I 
>> need to check this with an if (...) statement. Does such a function exist?
>> 
>> Thanks in advance,
>> Paul.
>> _______________________________________________
>> Hdf-forum is for HDF software users discussion.
>> 
>> [email protected]
>> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Merci beaucoup Cyril!

I suppose I did not understand the syntax, I was not familiar with the 'link' 
concept before. I suppose a 'link' is just about anything, like a dataset, a 
group, or similar? Anyway, thanks again!

Cheers,
Paul.



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

Reply via email to