I have ~98K ASCII files ( ~4K each so ~380MB in total)

I convert those files into a single binary file (HDF5_FILE)
using basic functions:

(..)
char buffer[FILE_LEN][LINE_LEN];
foreach (file in list_of_files)
    buffer=get(all_lines_in_the_file);
    dataset = 
H5LTmake_dataset(HDF5_FILE,DATASET_NAME,2,dimsfx,H5T_NATIVE_CHAR,buffer);
end
(..)

but the HDF5_FILE final size is ~1GB ... almost 3 times the size of the 
ASCII files put all together.

Could someone please sheds light on that point ?

Barbara

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to