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
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