pisces.geometry.grids.core.GenericGrid.from_hdf5#

classmethod GenericGrid.from_hdf5(filename: str | Path, group: str = 'grid') Grid#

Load a grid from an HDF5 file.

Parameters:
  • filename (str or Path) – Path to the HDF5 file.

  • group (str, default = "grid") – Name of the group within the file to load from.

Returns:

Reconstructed grid instance.

Return type:

GenericGrid

Raises: