Order of operations
The library imposes an order on the operations by argument dependencies.
- Example: a file must be opened before a dataset because H5Dopen() takes a file handle as an argument.
- Example: a data space must be created before a dataset because H5Dcreate() takes a data space handle as an argument.
Objects can be closed in any order and reusing a closed object will result in an error.
All objects are closed by normal program exit or H5close().