Add an attribute to a packet table with HDF5?

Hello,

With HDF5 release 1.8.4 this is not possible to add an attribute to a
packet table.
When I use a hid_t of a packet table the following error is shown:

HDF5-DIAG: Error detected in HDF5 (1.8.4) thread 0:
  #000: ..\..\..\src\H5A.c line 235 in H5Acreate2(): not a location
    major: Invalid arguments to routine
    minor: Inappropriate type
  #001: ..\..\..\src\H5Gloc.c line 241 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value

Is this functionality will be provided in next release of HDF5?

Thanks,

Vincent Herrero

Hi,

Unfortunately the answer is "no" at this point. One has to open PT as HDF5 dataset and use regular H5A* calls to manipulate attributes.

All,

Please let us know by sending email to help@hdfgroup.org if you use PT, and the features you would like to have. This particular request is already in our issues database.

Elena

···

~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal
The HDF Group
epourmal@hdfgroup.org
~~~~~~~~~~~~~~~~~~~~~
On Feb 1, 2010, at 7:00 AM, Herrero Vincent wrote:

Hello,

With HDF5 release 1.8.4 this is not possible to add an attribute to a packet table.
When I use a hid_t of a packet table the following error is shown:

HDF5-DIAG: Error detected in HDF5 (1.8.4) thread 0:
  #000: ..\..\..\src\H5A.c line 235 in H5Acreate2(): not a location
    major: Invalid arguments to routine
    minor: Inappropriate type
  #001: ..\..\..\src\H5Gloc.c line 241 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value

Is this functionality will be provided in next release of HDF5?

Thanks,

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