coordinates.mixins.core.CoordinateSystemIOMixin.to_hdf5#

CoordinateSystemIOMixin.to_hdf5(filename: str | Path, group_name: str | None = None, overwrite: bool = False)[source]#

Save this coordinate system to HDF5.

Parameters:
  • filename (str) – The path to the output HDF5 file.

  • group_name (str, optional) – The name of the group in which to store the grid data. If None, data is stored at the root level.

  • overwrite (bool, default False) – Whether to overwrite existing data. If False, raises an error when attempting to overwrite.