I’m trying to figure out how to create attributes for the root group - or any group at all, for that matter. The docs mention that both groups and datasets can have attributes attached to them, but the only examples I’ve seen attach the attributes to datasets. Perhaps I just give the group id as the first argument to h5acreate_f (I’m writing in F90). However, I don’t know what the group id for the root group would be.
Any help would be appreciated.