Skip to content

Readers should raise an error for HDF files using the compact storage layout. #527

@sharkinsspatial

Description

@sharkinsspatial

While investigating possible HDF storage scenarios for scalar values from #523 I discovered that HDF also supports a "compact" storage layout where extremely small datasets or values (<64KB) are inlined into the file header https://support.hdfgroup.org/documentation/hdf5/latest/_l_b_dset_layout.html. The HDF5 lib has no support for inferring the offset and size of datasets stored using the compact layout so we have no way of creating a ChunkManifest for them and should raise an unsupported exception.

  • Create a test fixture with a scalar stored in the compact storage layout using the low-level h5py.h5d API.
  • Update HDFVirtualBackend to check the dataset's storage layout.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions