-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Discussed with @axtimwalde:
N5's API uses Strings (relative URIs) to refer to groups and datasets, but
we could consider adding an N5 api that reflects the fact that an N5 hierarchy is a DOM.
N5NodegetPathreturns anN5URIgetParentreturns anN5Node(or null if this is the root)getAttributes
N5GroupNodegetChildrenreturns aN5Node[]- this could go in
N5Nodeif it can return (null if it is a leaf)
- this could go in
N5DatasetNode- getDimensions
- getBlockSize
- getDataType
- getCodecs
- (any other Dataset-specific metadata)
In this case N5DatsetGroup would essentially be DatasetAttributes with additional information about the hierarchy.
Similarly, the N5DatasetNode could have N5Reader (and N5Writer?) methods for reading (and writing?) blocks and shards.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels