fedoo.MultiFrameDataSet.to_fdh5
- MultiFrameDataSet.to_fdh5(filename: str, iteration: int = 0, overwrite: bool = False, compressed: bool | int = True) None
Write the dataset to a FDH5 file.
- Parameters:
filename (str) – Name of the FDH5 file. If no extension is provided,
.fdh5is appended.iteration (int, default=0) – Result iteration id written under
results/iter_<iteration>.overwrite (bool, default=False) – If True, an existing file is removed before writing. If False, the mesh is kept and only the requested iteration is added or replaced.
compressed (bool or int, default=True) – True uses gzip level 4; False disables compression. Integers 0-9 select the gzip level (0 uses the gzip filter without compression). Applies to newly written datasets, not existing iterations.
Notes
Element and Gauss point fields attached to a
MultiMeshare written under their matchingsubmesh_Xgroups. SingleMeshdatasets are written undersubmesh_0.