You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
what are the possibilities to use compression with HDF5-CSharp?
In the code I found something at ChunkedCompound.
By adding in ChunkedDataset.cs :: public void FirstDataset(Array dataset) the following I got it working for Chunked Datasets
/* Modify dataset creation properties, i.e. enable chunking */
propId = H5P.create(H5P.DATASET_CREATE);
status = H5P.set_chunk(propId, Rank, chunkDims);
H5P.set_deflate(propId, 6);
/* Create a new dataset within the file using chunk creation properties. */
datasetId = Hdf5Utils.GetDatasetId(GroupId, Hdf5Utils.NormalizedName(Datasetname), datatype, spaceId, propId);
@LiorBanai, could you enable such a feature for ChunkedDataset? Best would be a possibility to switch compression on/off
Is compression also possible with simple continuous Datasets - which I have most of the time? This would remove the zipping of the h5 files after creation.
I'm not sure if I understand the HDF5 docu correctly.
BR Josef
The text was updated successfully, but these errors were encountered:
Hi,
what are the possibilities to use compression with HDF5-CSharp?
In the code I found something at ChunkedCompound.
By adding in ChunkedDataset.cs :: public void FirstDataset(Array dataset) the following I got it working for Chunked Datasets
@LiorBanai, could you enable such a feature for ChunkedDataset? Best would be a possibility to switch compression on/off
Is compression also possible with simple continuous Datasets - which I have most of the time? This would remove the zipping of the h5 files after creation.
I'm not sure if I understand the HDF5 docu correctly.
BR Josef
The text was updated successfully, but these errors were encountered: