Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This script lives in /reg/g/psdm/tutorials/examplePython/userSmallHDF5.py and uses "h5py" (which is documented at http://www.h5py.org).

We do not assume we know the final size of the dataset. The example demonstrates using : we use the hdf5 chunked storage and resize functions to grow a dataset.  The same sort of pattern can be used to write in-memory data at the end of a run, but it is easier because at that time the size of the dataset it known.

...