mcsas.utils.hdf module¶
Helper functions for HDF5 functionality
-
HDFCleanup(infile)[source]¶ Unused space is reclaimed by making a copy of the contents in the current hdf 5 file object, and moves the copy in place of the original. if the input argument supplied is a file name instead of an HDF5 object, the method returns nothing. Else, the method returns the new HDF5 object
-
class
HDFMixin[source]¶ Bases:
object-
classmethod
hdfLoad()[source]¶ Restores an instance of this type from a given HDF file location or group.
-
classmethod
-
class
HDFWriter(hdfHandle, rootLocation=None)[source]¶ Bases:
objectRepresents an open HDF file location in memory and keeps track of the current address/name for reading or writing. Once this object looses scope, its data is actually written to file.
-
location¶
-
classmethod
open(filename, rootLocation=None)[source]¶ Warning
method ‘utils.hdf.HDFWriter.open’ undocumented
-
writeAttribute(key, value)[source]¶ Warning
method ‘utils.hdf.HDFWriter.writeAttribute’ undocumented
-