Hi, this is probably a stupid question. I looked at many of the examples and googled quite a bit but could not figure out the following. I want to read a dataset from a preexisting hdf5 file. However, to read i need to use h5dread (if i am correct). I need to pass in a pointer to a buffer to h5dread.
However, how can i get the size of the dataset such that i can preallocate that buffer. In all the examples a found they usually write a dataset and then read it, however, doing that the buffer is already preallocated (due to it being written first). Are there examples that i missed? Am i missing something completely? thanks matt _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
