Dataset region reference

All,

This is with release hdf51.6.5

I am using dataset region references in the hdf5 file I am writing out .
I dereference the dataset region reference and then use H5Rget_region to
get the dataspace . Now I create the appropriate type for the data that
needs to be read . On calling H5Dread , I get this error

Assertion failed: buf, file ..\..\src\H5Tvlen.c, line 826

What could be the reason for this problem .

The data I am referencing using the dataset region reference consists of
the following -

   hdset_reg_ref_t rephold_ref;

   hvl_t instances[1];

   double bbox_min[3];

   double bbox_max[3];

   double unit_factor;

The hvl_t holds a variable length array of references . For the
particular dataset region reference which I am trying to read , the
length for instances is zero .

Regards

Ramakrishnan

Hi Ramakrishnan,

···

On Jun 23, 2008, at 4:00 AM, Ramakrishnan Iyer wrote:

All,

This is with release hdf51.6.5

I am using dataset region references in the hdf5 file I am writing out . I dereference the dataset region reference and then use H5Rget_region to get the dataspace . Now I create the appropriate type for the data that needs to be read . On calling H5Dread , I get this error

Assertion failed: buf, file ..\..\src\H5Tvlen.c, line 826

What could be the reason for this problem .

The data I am referencing using the dataset region reference consists of the following -

   hdset_reg_ref_t rephold_ref;
   hvl_t instances[1];
   double bbox_min[3];
   double bbox_max[3];
   double unit_factor;

The hvl_t holds a variable length array of references . For the particular dataset region reference which I am trying to read , the length for instances is zero .

  Hmm, have you tried your code with a more recent version?

    Quincey

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

The structure also contains a char *name[1];

···

-----Original Message-----
From: Ramakrishnan Iyer
Sent: Monday, June 23, 2008 2:31 PM
To: HDF Forum
Cc: 'hdf-forum-help@hdfgroup.org'
Subject: Dataset region reference

All,

This is with release hdf51.6.5

I am using dataset region references in the hdf5 file I am writing out .
I dereference the dataset region reference and then use H5Rget_region to
get the dataspace . Now I create the appropriate type for the data that
needs to be read . On calling H5Dread , I get this error

Assertion failed: buf, file ..\..\src\H5Tvlen.c, line 826

What could be the reason for this problem .

The data I am referencing using the dataset region reference consists of
the following -

   hdset_reg_ref_t rephold_ref;

   hvl_t instances[1];

   double bbox_min[3];

   double bbox_max[3];

   double unit_factor;

The hvl_t holds a variable length array of references . For the
particular dataset region reference which I am trying to read , the
length for instances is zero .

Regards

Ramakrishnan