Add the shuffle filter to the chunk processing pipeline.
H5Pset_shuffle(h5plist)
h5plist
Object of class H5IdComponent representing a dataset creation property list.