parcio/julea

VOL julea-db does not handle relative paths

Opened this issue · 1 comments

When a group creation call gets a name containing slashes, this name should be interpreted as a path relative to the given location.
Intermediate groups may be created if specified in the lcpl.

However this is not how julea-db behaves as it just creates a group with slashes in its name:
image
(Screenshot of the HDF5_DB_link table)

Edit: In contrast that what happens with native HDF5:

$ h5dump somefile.h5 
HDF5 "somefile.h5" {
GROUP "/" {
   GROUP "path" {
      GROUP "to" {
         GROUP "group" {
         }
      }
   }
}
}

As this behaviour is also needed for proper implementation of the object copy callback I will fix this right away.

Edit: I just realized that names are never interpreted as paths relative to location IDs so this issue applies to every open and create of groups and datasets.