Searching for a way to change the HDF5 cache settings using the h5py high level interface, I found the source of hdf5_merge.py and tried to adapt the specific code snippet of the set_cache() method to my needs. But it simply didn't work.
Because of that, I asked a question on StackOverflow and SO user unutbu pointed out, that f.id.get_access_plist() returns a copy. Therefore calling set_cache on that copy doesn't make any change to the file.
Just wanted to let you know, that setting the cache properties in your hdf5_merge.py doesn't work. You need to adapt create_output method to open the file using the low level interface. Afterwards you can create a h5py.File object using the file id (see unutbus answer to my SO question).
Searching for a way to change the HDF5 cache settings using the h5py high level interface, I found the source of hdf5_merge.py and tried to adapt the specific code snippet of the set_cache() method to my needs. But it simply didn't work.
Because of that, I asked a question on StackOverflow and SO user unutbu pointed out, that
f.id.get_access_plist()returns a copy. Therefore callingset_cacheon that copy doesn't make any change to the file.Just wanted to let you know, that setting the cache properties in your hdf5_merge.py doesn't work. You need to adapt
create_outputmethod to open the file using the low level interface. Afterwards you can create ah5py.Fileobject using the file id (see unutbus answer to my SO question).