H5D_OPEN1 opens an existing dataset for access at the location specified by
loc_id may be a file, group, dataset, named datatype or attribute. If an attribute, dataset, or named datatype is specified for
loc_id then the dataset will be opened at the location where the attribute, dataset, or named datatype is attached.
name is a dataset name and is used to identify the dataset in the file.
A dataset opened with this function should be closed with H5D_CLOSE when the dataset is no longer needed so that resource leaks will not develop.