ptypy.io.h5rw.h5append#

ptypy.io.h5rw.h5append(filename, {'var1'=..., 'var2'=..., ...})#
ptypy.io.h5rw.h5append(filename, var1=..., var2=..., ...) None
ptypy.io.h5rw.h5append(filename, dict, var1=..., var2=...) None

Appends variables var1, var2, … to file filename. The key-value arguments have precedence on the provided dictionary.

supported variable types are: * scalars * numpy arrays * strings * lists * dictionaries

(Setting the option UNSUPPORTED equal to ‘ignore’ eliminates unsupported types. Default is ‘fail’, which raises an error.)

The file mode can be chosen according to the h5py documentation. It defaults to overwriting an existing file.