Hi Daniel,
On Jan 27, 2011, at 2:28 AM, Daniel Hornung wrote:
> On 2011-01-26 19:02, Binh-Minh Ribler wrote:
>> Hi Daniel,
>>
>> fg_p must point to either a H5File or Group object, not CommonFG.
>> I hope that helps.
>>
>> Binh-Minh
>
> Hi Binh-Minh,
>
> fg_p is a pointer of type CommonFG, but points to an H5File or Group object,
> of
> course (CommonFG is abstract, so this can not be the problem anyway). Sorry
> if
> I was not clear enough on this.
>
> The output is as follows, by the way:
>
> Trying to open DS...
> HDF5-DIAG: Error detected in HDF5 (1.8.5-patch1) thread 0:
> #000: H5D.c line 320 in H5Dopen2(): not found
> major: Dataset
> minor: Object not found
> #001: H5Gloc.c line 480 in H5G_loc_find(): can't find object
> major: Symbol table
> minor: Object not found
> #002: H5Gtraverse.c line 964 in H5G_traverse(): internal path traversal
> failed
> major: Symbol table
> minor: Object not found
> #003: H5Gtraverse.c line 759 in H5G_traverse_real(): traversal operator
> failed
> major: Symbol table
> minor: Callback failed
> #004: H5Gloc.c line 435 in H5G_loc_find_cb(): object 'datum' doesn't exist
> major: Symbol table
> minor: Object not found
> ...
> Does "datum" exist? No <- This line comes from somewhere else in the code
> and means that false was returned.
I'm not certain if it is expressed in the C++ API wrappers, but you
probably want to use the H5Lexists() routine for this sort of check.
Quincey
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org