Hi Pierre,
> Here element is a group, step, time and value are datasets. I want the
> possibility
> to add an attribute "unit" to the dataset "time". As "time" is a scalar
> parameter, I
> guess that making it compact would be a plus.
I tend to be a bit suspicious of such optimizations. Before we
discuss options for adding things to h5py it would be interesting to
see, for some reasonable case, what the performance benefits are.
That seems like a pretty big problem... generally the point of
parallel processing is that one writes different data from different
CPUs, and datasets with compact storage will silently record incorrect
data if this is done.
To be frank, it looks to me like compact dataset storage is a
misfeature in HDF5. But I'm open to being convinced otherwise.
Andrew