3.5.5. horton.io.internal
– HORTON internal file format¶
-
horton.io.internal.
load_h5
(item)¶ Load a (HORTON) object from an h5py File/Group
Arguments:
- item
- A HD5 Dataset or group, or a filename of an HDF5 file
-
horton.io.internal.
dump_h5
(grp, data)¶ Dump a (HORTON) object to a HDF5 file.
- grp
- A HDF5 group or a filename of a new HDF5 file.
- data
- The object to be written. This can be a dictionary of objects or
an instance of a HORTON class that has a
to_hdf5
method. The dictionary my contain numpy arrays