Skip to content

Implement attributes interface to Location superclass #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

dwillcox
Copy link
Owner

Implements attribute get and set functions to the Location class and its derived types.

Unlike in HDF5, attributes are written in an "Attributes" subgroup inside the location where we call get and set ... this is because HDF5 wants you to specify the parent location of the actual location that will contain the attribute. That would require keeping track of the location hierarchy and making sure the parent location is open when trying to write or read an attribute with a location.

That's cumbersome overhead to manage and against the minimalist design of ClassyHDF, which requires that no assumptions about what other locations are open are necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant