Description
What is your issue?
Hello, I am in the xarray.DataTree() fan club(!) and have been starting to update existing tutorials to work NASA ICESat-2 HDF5 data in xarray, transitioning from earlier xarray.open_dataset() guidance that only allowed for a single group to be specified.
I was hoping ICESat-2 files would just open out of the box with datatree now, but I get an error unless I specify phony_dims:
dt = xr.open_datatree(file, phony_dims='sort')
(see full notebook here , or you could download an example file here)
@eni-awowale provided some helpful guidance, and sounds like it may be an issue between interoperability with the hdf5 and netcdf-c library.
Since xarray can already detect phony_dims, we were wondering if this could be a reasonable add to the h5netcdf backend engine. This could greatly streamline HDF5 users' workflow so that files can open out of the box w/o needing to specify additional kwargs.