HDFGroup / vol-rest

HDF5 REST VOL Connector
Other
5 stars 8 forks source link

Compound subsetting through H5Tconvert and field selection #118

Closed mattjala closed 5 months ago

mattjala commented 8 months ago

Alternative implementation of #107. Compound reads are handled through H5Tconvert. The previous issue with this - that H5Tconvert would overwrite the unused fields - is fixed by using the background buffer.

Compound writes are more complicated, since HSDS expects to receive a packed buffer containing only the data for the fields that are actually being written to. H5Tconvert leaves blank spaces in the buffer, so it was necessary to create the packed buffer through H5Dgather and a new callback.

This depends on HDFGroup/HSDS#298, which fixes some issues with writing to field selections.