[hdf-forum] H5Dset_extent and maxdims

Francesc Alted faltet at pytables.com
Wed Oct 8 03:53:00 EDT 2008


A Tuesday 07 October 2008, Pedro Vicente escrigué:
> Hi Francesc
>
> At 05:46 AM 10/7/2008, Francesc Alted wrote:
> >Hi,
> >
> >I'm trying to wrap the H5Dset_extent call, and I have a question. 
> > In the current docs, one can read:
> >
> >"""
> > This function can be applied to the following datasets:
> >
> >    * Any dataset with unlimited dimensions
> >    * A dataset with fixed dimensions if the new dimension sizes are
> >less than the maximum sizes set with maxdims (see H5Screate_simple)
> >"""
> >
> >(http://www.hdfgroup.org/HDF5/doc/RM/RM_H5D.html#Dataset-SetExtent),
> >
> >However, when I try to set a size larger than maximum against a
> > dataset with fixed dimensions, the H5Dset_extent call succeeds and
> > effectively *enlarges* the dimension (contrarily to what
> > documentation is saying).
>
> this should not happen, it is not allowed to set a size larger than
> the initially set maximum in a dataset with fixed dimensions
>
> the docs are correct
>
> can you send us a sample program ?

I see.  Unfortunately, I don't have time right now to provide the 
sample, but I'll put this in my TODO list.

Thanks,

-- 
Francesc Alted
Freelance developer
Tel +34-964-282-249

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





More information about the Hdf-forum mailing list