Hi guys
I am a newbie to H5, and I am using MATLAB to write a structure array into H5 using compound datatype
My structure has 20 fields, and most fields are 1-D double arrays (20 x 1), and some fields each element consist of 1-D array (like 20 x 1000)
When I tried to define my compound dataset properties with compression = 5
dcpl_id = H5P.create(‘H5P_DATASET_CREATE’); % define PROPERTY LIST
H5P.set_deflate(dcpl_id ,5)
dset = H5D.create (H5File, DatasetName, filetype, space, dcpl_id );
I keep getting errors, asking to initialize chunk size
But i have tried
H5P.set_chunk(dcpl_id,fliplr(20,1));
H5P.set_shuffle(dcpl_id); % - set SHUFFLE FILTE
still error out
For me, I do not think Compound dataset can be chunked, which means Compound dataset can not be compressed also
is this correct that the compound dataset can not be compressed? or am i defining it wrong