Thanks for your answer Calixto, but I need to get a 3D hdf file, this file will be convert in 2D snapshot where the third dimension is the time usind hdfutils. Even so, I try to define a 1D array as you said but keep RANK=3 and three elemente dimsf[3], it works for cubic 3D arrays. But for non equal sides there some offset fail in every X,Y,Z combination;
Also, I think that I could work with n-dimensions matrices on HDF files. I try one simple example of H5 write. I only change the allocation method to dynamic and the data is getting corrupted. http://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/examples/h5_write.c
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
