Hi,
I created two files from the same source with different data dimensions
lucy.cpm is created with a fix dataset
ilucy.cpm is created with one of the dataset dimension as unlimited and I
use hyperslab to incrementally append data by extending the space.
lucy.cpm file size is 673,656,116 bytes
ilucy.cpm file size is 2,472,905,160 bytes
Here is the h5dump -H output for each of the files
HDF5 "lucy.cpm" {
GROUP "/" {
DATASET "bounding_box" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 6 ) / ( 6 ) }
}
DATASET "face_indices" {
DATATYPE H5T_STD_U32LE
DATASPACE SIMPLE { ( 28055742, 3 ) / ( 28055742, 3 ) }
}
DATASET "vertex_positions" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 14028019, 3 ) / ( 14028019, 3 ) }
}
DATASET "voxel_bounding_boxes" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 64, 6 ) / ( 64, 6 ) }
}
DATASET "voxel_face_indices" {
DATATYPE H5T_VLEN { H5T_STD_U32LE}
DATASPACE SIMPLE { ( 64 ) / ( 64 ) }
}
DATASET "voxel_vertex_indices" {
DATATYPE H5T_VLEN { H5T_STD_U32LE}
DATASPACE SIMPLE { ( 64 ) / ( 64 ) }
}
}
}
HDF5 "ilucy.cpm" {
GROUP "/" {
DATASET "bounding_box" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 6 ) / ( 6 ) }
}
DATASET "face_indices" {
DATATYPE H5T_STD_U32LE
DATASPACE SIMPLE { ( 28055742, 3 ) / ( H5S_UNLIMITED, 3 ) }
}
DATASET "vertex_positions" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 14027872, 3 ) / ( H5S_UNLIMITED, 3 ) }
}
}
}
Cheers
--
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org