Skip to content

fullFieldXASv1/bin/hdf5_merge.py set_cache not working #25

Description

@egroeper

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions