functional (but by no means complete) HDF5 output