Closed DominicOram closed 1 month ago
Currently, if I use a StringHDF5Dataset and give it a fixed length I get a chunked dataset.
StringHDF5Dataset
This is because if a maxshape of None is provided to HDF5Dataset the constructor converts it to (None, ). These actually mean two different things:
maxshape
None
HDF5Dataset
(None, )
When something is set as resizable it then becomes chunked.
Dropping this, see https://diamondlightsource.slack.com/archives/G017HTC55M1/p1716982514687359?thread_ts=1716567840.558099&cid=G017HTC55M1
Currently, if I use a
StringHDF5Dataset
and give it a fixed length I get a chunked dataset.This is because if a
maxshape
ofNone
is provided toHDF5Dataset
the constructor converts it to(None, )
. These actually mean two different things:None
means that the dataset is not resizable(None, )
means axis 1 is infinitely resizableWhen something is set as resizable it then becomes chunked.