This repository was archived by the owner on Feb 26, 2025. It is now read-only.
Repository navigation
|
Hello, I would like to add attributes to the root of a H5 file (which is a group and not a dataset). When trying to do this via the error appears (defined in the file H5Easy_misc.hpp). Dumping to a dataset works perfectly fine. Is dumping attributes to groups not supported with H5Easy? Is it supported at all? (I could not find such case in the referenced example). What would you suggest as a solution? Creating an "empty" or "dummy" dataset at the root and dumping the attributes there? Thank you for your help :) |
Answered by
1uc
May 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for reporting this bug. I've improved the examples to show how it can be done using core HighFive in #758. Note that a
H5Easy::Fileis just aHighFive::File.