I’m experimenting with HDF5 / h5py and looking for advice on how deep to nest my data.
My typical lab workflow is to collect data in a session, during which I’ll test a device in several configs. Typically I’ll repeat measurements for each config. If I use this natural division of data, I end up with very deep nesting:
This seems onerous to traverse, and also makes me wonder which level I’d attach to attrs to (always at the end, a mixture of levels?)
Any advice on this stuff? Flatter is better? Nested is better? I’m leaning towards some encoding, like:
…and always attaching attrs to the device-config level.
Any tips appreciated!