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
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).
The text was updated successfully, but these errors were encountered:
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_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 ah5py.File
object using the file id (see unutbus answer to my SO question).The text was updated successfully, but these errors were encountered: