ewoksdata.data.nexus.create_url#
- ewoksdata.data.nexus.create_url(url, overwrite=False, **open_options)[source]#
Create (or ensure the existence of) an HDF5 group specified by a URL.
- Parameters:
url (
str) – The HDF5 URL (e.g.path/to/file.h5::/entry/data).overwrite (
bool) – If True, overwrite the final group if it exists. If False, reuse existing groups. Default is False.open_options – Additional options passed to
h5py.File.
- Return type:
DataUrl- Returns:
A DataUrl object pointing to the created or existing group.